Jump to content

emelie415

Members
  • Posts

    14
  • Joined

  • Last visited

Posts posted by emelie415

  1. Hello!
    I want my WOE > EMP not take any attack skills... Matter fact i want it to block ALL skills but  >   heal, sanctuary and gloria
    I upaste it so you can see
    This is not whole battle.c


    Is it possible?

    http://upaste.me/e35419629a9260ba7
    I think this is what needs to be edited??


    Ps. i did read a few guides here in rA; I found the solutions guide but i failed to manage it. I just need some guidense

  2. I didnt really get what you ment by "Sql tables"  And "Create them in order to get this working"  If we could teamview 240 480 009   // 5051   i could show u how many v4p points i have and so on. I think its easier when u see it live =) U can watch while eat, IF you eat infront of ur pc.

  3. Did you add your script location in trunk/npc/scripts_custom.conf ??

    If yes, what excatly doesn't work? What happens you you click on your NPC? Do you have errors on your mapserv?

     

    I'm gonna go eating I'll come back in a few minutes.

    Yes ive added it to scripts_custom.conf..... When i click on v4p npc ; it will tell me the following:

    Hello Admin, i'm V4P

    i'm offering 1 poring coing for each 1 Vote point you pay.

    Vote for us and win Vote points!

    But i dont recieve any points =/

     

    Did you add your script location in trunk/npc/scripts_custom.conf ??

    If yes, what excatly doesn't work? What happens you you click on your NPC? Do you have errors on your mapserv?

     

    I'm gonna go eating I'll come back in a few minutes.

    Yes ive added it to scripts_custom.conf..... When i click on v4p npc ; it will tell me the following:

    Hello Admin, i'm V4P

    i'm offering 1 poring coing for each 1 Vote point you pay.

    Vote for us and win Vote points!

    But i dont recieve any points =/

     

    Eat well ! Can we teamview after u've eaten? If we solve it, i will explain it here by words. How we solved it.

    Regards,

  4.  

    I read the script really quickly so I didn't really get what you want to do but I know one thing for sure.

    You won't be able to use this function if you don't attach the player rid to it because functions are not attached to players automatically.

     

    It's a bit strange that Mytzer submitted it like this because at first sight it seems obvious that it won't work :huh:

     

    Maybe he found a way to use his function without attaching any rid but normally you can't.

     

    So basically you'd have to give the player rid as a parameter to the function so that it can attach the player to the script before using message commands:

    Just add an argument like this:

     callfunc "VoteExchange",strnpcinfo(1),1,7539,1,getcharid(3,strcharinfo(0));
    

    and attach the rid in the function:

    function        script  VoteExchange    { attachrid(getarg(4));
    
            set .@CurrVotePoints, callfunc("getVotePoints");
    ...
    

    I was waiting for you to reply! I  saw you was reading my topic, i was wishing that you'd know the answer!  My wish came true =) Thank you alot. I will now test that

    Waiting again but.

    Where should this be?

    callfunc "VoteExchange",strnpcinfo(1),1,7539,1,getcharid(3,strcharinfo(0));

    And where should the 2nd be?

    function script VoteExchange { attachrid(getarg(4));

    set .@CurrVotePoints, callfunc("getVotePoints");

    ...

     

  5. First i'd like to say im a new member of Rathena.

    I start with explaining what type of server i have, and what my problem and what i want to achieve.

    My sever is "Cash Point" server. Meaning; when you kill another player you'll recieve "Cash Points"  So i cant have a v4p system with Cash Points.
    Also i cannot use TCG or CREDITS because these are used in quests.

    So in Addon.php i choose  "USE CREDITS> TRUE"   I want my v4p to give poring coin or something like that.

    I found this : http://upaste.me/937a6913934e782

    As you see at the end:  I want this to work; That you'll recieve 7539 (poring coin)

    // This NPC change 1 Poring Coint for 1 Vote Point
    prontera,147,166,5      script  Akaru#002       437,{
            callfunc "VoteExchange",strnpcinfo(1),1,7539,1;


    I uploaded both  [Addon.php] & [v4p.txt]   so you can have a look, and see if there are any buggs.


    Problem; When i click V4p npc i do not recieve any Poring Coins.

    I appreciate any kind of help!

    Thanks alot,
    Regards
    Emmie

     

    addon.php

    v4p.txt

×
×
  • Create New...