Jump to content

Recommended Posts

Posted

Exchange NPC Script for FluxCP


This is a NPC script for FluxCP Credits and Vote points in order for the
players to exchange them for Cash Points ingame.

Credits to JayPee Mateo
https://github.com/Feefty/FluxCP_Addons-VoteForPoints/blob/master/npc/voteforpoints.txt

But this script was completely changed so that no lines were used from the original

 

Make sure to replace "ragnarok_db" with your database name on line 19 and 20


  • Submitter
  • Submitted
    06/30/2018
  • Category
  • Video
  • Content Author
    Raiken

 

Posted
On 6/30/2018 at 6:16 PM, RaiRai said:

Exchange NPC Script for FluxCP


This is a NPC script for FluxCP Credits and Vote points in order for the
players to exchange them for Cash Points ingame.

Credits to JayPee Mateo
https://github.com/Feefty/FluxCP_Addons-VoteForPoints/blob/master/npc/voteforpoints.txt

But this script was completely changed so that no lines were used from the original


  • Submitter
  • Submitted
    06/30/2018
  • Category
  • Video
     
  • Content Author
    Raiken

 

Hi,  i'm try using your script. but i've got error in my server

because using default npc from votefor point it's working.

could you tell me what did i miss

here my SS using script original  voreforpoint

Spoiler

screenrAthena058.thumb.jpg.576ef564485d5aed58c4865bf10e7638.jpg

and here using your script

Spoiler

screenrAthena057.thumb.jpg.25dbbd200f6f198bf3878dc5f0934799.jpg

here my error on map server

2018-07-02_125914.jpg.f927e896e0dd7be29ada840e4af7529e.jpg

Posted (edited)

Do you have FluxCP and V4P Addon installed correctly?

Also you need permissions for those tables in the script for the user 'ragnarok'@'localhost'. At least to select and update.
If those tables are located somewhere else you need to change lines 19 & 20.

The original script points at ragnarok_db.cp_v4p_voters for example. Is ragnarok_db your Database name? It can be ragnarok, rathena, server, or something completely different. That's why those lines need to be changed.

Everyone sets up his server differently, there's no standard in naming databases.

Edited by RaiRai
Posted
17 hours ago, RaiRai said:

Do you have FluxCP and V4P Addon installed correctly?

Also you need permissions for those tables in the script for the user 'ragnarok'@'localhost'. At least to select and update.
If those tables are located somewhere else you need to change lines 19 & 20.

The original script points at ragnarok_db.cp_v4p_voters for example. Is ragnarok_db your Database name? It can be ragnarok, rathena, server, or something completely different. That's why those lines need to be changed.

Everyone sets up his server differently, there's no standard in naming databases.

ok i understand what did i miss, becasuse my database ragnarok not ragnarok_db.

ok i will try it again.

Thanks for the info.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...