Jump to content

cjvirus09

Members
  • Content Count

    17
  • Joined

  • Last visited

Posts posted by cjvirus09


  1. 5 hours ago, Origami said:

    Hi! recently I asked for a help from a rathena dev to make an NPC that will require players donation to activate ,,, Its working on Hercules ,however, when the event is running ,after the server restart the rates of server is returning to its original rate and the announcement on login turns into 'Base exp: 0x Job exp: 0x' 

     

    heres my script .. Thanks !

     

     

    It's because any temporary variables are removed from the npc once the server restarts or once the npc been reloaded. Your rates will be 0 because any 0 value divided by any amount (100) will always return 0.

     

    It's better to use OnTimer<tick>. See documentation for more info.


  2. 4 hours ago, Samuel said:

     

    RoBrowser doesn't support pin code as far as I know

    Yes, that's what I'm doing now. It will now support my server with packetver of 20191127. *Still have a lot of fixes to do once I entered map server* 😅

     

    I did multiple test to get the correct pin code to send. The pin arrangement is hidden in the seed sent by the server. I can't figure out which one is the right keypad.

    Sending "4321" pin code directly will be read as different pin in the server, decrypted into "3849" (Just random number sample). Once compared, the server will return wrong pin packet.

    asdd.png


  3. Hello guys,

     

    I need some help regarding pincode. I'm sending packet (0x8b8) for checking pincode but I encountered unknown packet. It seems like not returning the actual packet I've expected which is the 0xae9 or 0x8b9. See attached file.

     

    I'm not sure if I'm sending the correct string. Do I also need to decrypt the seed?

    pincode_issue.png


  4. Just now, Almond Snicker said:

    noted, how about timers? or gettimeticks?

     

    I prefer using this.

     

    *initnpctimer({"<NPC name>"{, <Attach Flag>}})
    *initnpctimer({<Attach Flag>})
    *stopnpctimer({"<NPC name>"{, <Detach Flag>}})
    *stopnpctimer({<Detach Flag>}})
    *startnpctimer({"<NPC name>"{, <Attach Flag>}})
    *startnpctimer({<Attach Flag>})
    *setnpctimer(<tick>{, "<NPC name>"})
    *getnpctimer(<type of information>{, "<NPC name>"})
    *attachnpctimer({"<character name>"})
    *detachnpctimer({"<NPC name>"})
     

    Disguise Event is a good reference for timer.


  5. Help pls. How can I fix this?

    I've followed the README.txt, Doesn't work. But when I transfer emphaino theme files to 'default'. It shows this error.

    Please help. :(

      Critical Error  

    An error was encountered during the lifetime of the application.

    This could be due to a variety of problems, such as a bug in the application.

     

    However, normally it is caused by misconfiguration.

    Exception Details  

    Error: Flux_Error

    Message: Circular dependencies in themes : default -> default  

    File: /home/diceragn/public_html/lib/Flux/Template.php:239


     

    File Line Function/Method /home/diceragn/public_html/lib/Flux/Template.php 244 Flux_Template::__construct() /home/diceragn/public_html/lib/Flux/Dispatcher.php 159 Flux_Template::__construct() /home/diceragn/public_html/index.php 180 Flux_Dispatcher::dispatch() Exception Trace As String  

    #0 /home/diceragn/public_html/lib/Flux/Template.php(244): Flux_Template->__construct(Object(Flux_Config))#1 /home/diceragn/public_html/lib/Flux/Dispatcher.php(159): Flux_Template->__construct(Object(Flux_Config))#2 /home/diceragn/public_html/index.php(180): Flux_Dispatcher->dispatch(Array)#3 {main}

     

    Edit: nvm, solved! :)


  6. Can anyone explain why this errors occur? And I am using the latest SVN.

     

    I have summoned 5 Ktullanux and 5 Orc Lords to test my script and letting these monsters break my item. And these errors occur suddenly.

     

    [Error]: skill_unit_move_sub: Reached limit of unit objects per cell!

    [Error]: skill_unit_move_sub: Reached limit of unit objects per cell!

    [Error]: skill_unit_move_sub: Reached limit of unit objects per cell!

    [Error]: skill_unit_move_sub: Reached limit of unit objects per cell!

    [Error]: skill_unit_move_sub: Reached limit of unit objects per cell!

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.