Jump to content

Sephiroth91

Members
  • Posts

    14
  • Joined

  • Last visited

Posts posted by Sephiroth91

  1. Sorry for the late answer@Rynbef Much work on my todolist the last days. 

    1st: no change, it also  says @dailyreward is unknown command

    2nd:  of course I try it all the time, only with your function since the server does not complain anymore that nothing is attached but the comand still does not work

     

    I have used the command in the itemdb in my item and now the script is working.   Your command is not nessary. 

    Thanks for your time and help ?

  2. I tried the first suggestion myself yesterday and it didn't work. With the second proposal comes again the same result unknown command.

    I have now tried something completely new. I made my own atcommand in the src which only does a text output and called the command dailyreward. If I enter @dailyreward in the chat the reward script is called. If I use the item only the text output from the src is output but both are the same command but brings a completely different result. I suspect that a bindcmd actually only works in the chat and not via a call (Maybe an emulator error?).

    This means that calling the script via an item would only be possible for me if I write an atcommand in the src what the script calls. But I have no idea how to do it. Do you have an idea @Rynbef or someone else?

  3. I got the following error;

    [Error]:
    script error on npc/custom/sephiroth/dailyreward.txt line 50
        parse_simpleexpr: unmatched ')'
        47 : {
        48 :
        49 :     if(getargcount()){
    *   50 :         if(!attachedrid'('))
        51 :             attachrid(getarg(0));
        52 :                donpcevent "LOGIN::OnLoginCmnd";
        53 :       //  atcommand "@dailyreward";
        54 :         detachrid;
        55 :     }
     

    If I comment out the erroneous line, because it is only a check at the point I get the message that the command dailyreward is unknown.

    Thank you very much for your help so far I appreciate this very much.

  4. I implemented it exactly as you said and then I got the following error:

    [Error]: buildin_strcharinfo: fatal error ! player not attached!
    [Debug]: Function: strcharinfo (1 parameter):
    [Debug]: Data: number value=0
    [Debug]: Source (NPC): LOGIN (invisible/not on a map)
    [Debug]: Source (NPC): LOGIN is located in: npc/custom/sephiroth/dailyreward.txt
    [Debug]: Source (NPC): LOGIN (invisible/not on a map)
    [Debug]: Source (NPC): LOGIN is located in: npc/custom/sephiroth/dailyreward.txt

  5. When I try this I get the error:

    [Warning]: script:get_val: cannot access player variable '#LastDailyReward', defaulting to 0
    [Error]: get_val_: fatal error ! player not attached!
    [Debug]: Source (NPC): dailyreward (invisible/not on a map)
    [Debug]: Source (NPC): dailyreward is located in: npc/custom/sephiroth/dailyreward.txt
    [Warning]: script:get_val: cannot access player variable '#LastDailyReward', defaulting to 0

     

    When I try: donpcevent "dailyreward",strnpcinfo(3)+"::OnLoginCmnd";

    then nothing happens, no error, but the script is not called either

  6. Hello, 

    I'm trying to call the dailyreward command from the script with an item. If I call the dailyreward command with the item via the atcommand, I get the message that the command does not exist, but if I enter it with @dailyreward, it works.

    I've tried calling the script with callfunc but this didn't work either. my goal is that the player can call up the script with an item and he doesn't have to enter a command in the chat.

    I hope someone can help me here I've been looking for a solution the last days. 

     

     
  7. Hello,

    is there a choice to use in  the latest client the old interface and character choice for example from the client 2013? I am working on a pre renewal server.  I would have all classic if its possible. But I dont waive features like 5 attchments in post or something that was impossible in the old one.  I have searched  in google , but havent found a cleary solution. 

  8. hello,

    sorry i cant post in the web support area
    i have the following problem:
    my flux cp,which installation had made no mistakes and it runs, but statistics like how much are in the moment online dont work or if i try to make a new account appears following error: "Uh oh, what happened?"
    I had googled abaut this error but i found nothing that helped me i use the flux cp from this site https://github.com/rathena/FluxCP.

    I change from error.php   showExceptions from true in false but it come the same "Uh oh, what happened?" i see no warnings or errors.
    I hope someone here can help me out abaut my problem.

     

    Edit: I forgot to change the debugmode ... Message: MySQL error (SQLSTATE: 42000, ERROR: 1064): You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '-test.cp_cmsnews ORDER BY id DESC LIMIT 4' at line 1

×
×
  • Create New...