Search results

  1. Zirius

    getvariableofplayer() ?

    is there a script or trick I can do to get the variable of players? Suppose we have ,PCDieEvent:, I wanna get .@lastmission of killed and killerid players. I wanna do this because I will need to compare their variables. Thanks!
  2. Zirius

    Can you make a source patch file for @storeitem plugin?

    Hello! Since I am having trouble making @storeitem works on my CentOS as plugin. Can somebody convert the following code into something that would work inside atcommand.c. So that I won't be needing anymore plugin tweaks. // Copyright (c) Hercules Dev Team, licensed under GNU GPL.// See the...
  3. Zirius

    in_array() for Hercules?

    Is there a equivalent function of in_array() in Hercules? I am trying to make a script that records to an array maps at which a character went, then i wanna do a script that triggers if a specific map is inside the array. Thanks!
  4. Zirius

    @whodrops LIST to only show items that are dropped by mobs

    I think this would be great feature for Hercules. On @whodrops Knife, Hercules would first list all "Knife" items from item_db, composed of Knife_,Knife__, etc. The thing is, I don't think players are interested at knowing items that are not even dropped by mobs (unless otherwise specified by...
  5. Zirius

    Is *bAddMonsterDropItem rate affected by item_rate_adddrop

    battle/drops.conf says:   // The rate adjustment for card-granted item drops.item_rate_adddrop: 100item_drop_add_min: 1item_drop_add_max: 10000 I am just wondering if it should affect *bAddMonsterDropItem Is it the same as official? Thanks!
  6. Zirius

    Which should I use "break" / "continue" ? Snapping out of while and check var again

    Hello! I got this script: prontera,155,180,4 script This eynt working#2 1_ETC_01,{ if (da_var < 3 ) { while (da_var < 3) { switch(da_var) { case 0: mes "you hit 0"; da_var = 1; next; break; case 1: mes "you hit 1"; da_var = 2; next...
  7. Zirius

    how do you replace packet keys on 20140115 ?

    Packet First Key Encryption: Failed in part 1.  I think that means NEMO can't find the hex? Though my tortoise says I am still updated. LOL. I just learned you are the developer of the program. (thumbs up!) Btw, I want to report a minor feature bug. If you load the client, and apply a patch...
  8. Zirius

    @fontcolor showing unnecessary logging effect?

    (using 20140115) Waa starting to think it is not client based. Mam (or anybody), can you please confirm my GIT is same as yours? ACMD(fontcolor) { unsigned char k; unsigned short msg_len = 1; char mout[40]; if( !message || !*message ) { for( k = 0; k < hChSys.colors_count; k++ ) {...
  9. Zirius

    Compiling "make sql" with only MariaDB dependencies

    I'm just wondering, if it is possible to completely compile Hercules without the old mysql, since MariaDB is wayyyy much faster, and Hercules is also fast, why not make Herc support MariaDB. I can run Herc via MariaDB when I am here at my windows platform, but on *nix, make sql requires the...
  10. Zirius

    how do you replace packet keys on 20140115 ?

    Hello! I''d been trying via Hexplorer to replace the 3 keys: packetKeys(0x63224335,0x0F3A1F27,0x6D217B24); /* Thanks to Yommy */ What i did is : I first try to find for the first key: "0x63224335" as text or even hex but whatever hex editor I use, it cannot be found. So, what are you guys...
  11. Zirius

    @fontcolor showing unnecessary logging effect?

      Btw, cute mount mam.
  12. Zirius

    @fontcolor showing unnecessary logging effect?

    I wonder if it is just me, but when I use @fontcolor and type a string, my character is showing the same effect as when you login. And this always occur everytime I walk some distance, type a string. Is this normal? It doesn't look good though.
  13. Zirius

    How do you put item directly to the storage?

    I am trying to look at the script commands but can't find a function that puts item directly to the storage of the attached char. Its like when a char talks to an NPC he/she would have the items directly at his/her storage. Its good when you plan on giving them BULK items (big amount of Pots...
  14. Zirius

    if (.@string$) fails, any alternative?

    Hello! seems like, only integer variables can be used with if() exist. How about strings? and how do you use strlen()? always getting unmatched brackets.
  15. Zirius

    attachrid killedrid & killerrid assigning temp character variable

    Hello! I am trying to code a PVP script and wants to make use of streak counting. Basically, the streak is incremented when you kill a char, and resets to 0 when you got killed. So if I understand correctly, the code should *basically* follows:   OnPCDieEvent: attachrid killedrid; set @char,0...
  16. Zirius

    Question about Pull and Commit?

    Hello! I wan to keep my Hercules updated, I GIT cloned my local copy last July 23rd and never made any update since then (aside from my personal mods) So as I always read the recent bugs,pull, and commits, I am wondering how to have them? As I understood it, if a dev creates a source...
  17. Zirius

    Where are the messages Hercules outputs in Logs and how to change color?

    Finally made it worked. (mam, your src are far too different from mine? Is that latest GIT?) Just for precaution mam, the original says:  clif_disp_onlyself() does colormes2() will make sure it behaves as clif_disp_onlyself() ? Thanks mam!
  18. Zirius

    attachrid killedrid on AnnieRuru's PVP Ladder conflict on Summoned Plants

    Hello! I am using Annie Ruru's PVP Ladder script, I found out that when players got killed by a summon plant (Bio Cannibalize by Alchemist), the point goes to the dead players instead of the killer. Then, I realized that the NPC says: I tried looking at the script and found NO snippet that...
  19. Zirius

    who has AnnieRuru's PVP Ladder with announcement files and SQL queries?

    *Hope, I would be able to describe this. LOL.* Mam, refer to attachment: PVP Script outputs announcement 1 (blue) Another script outputs announcement 2 (should be yellow) But instead of yellow, outputs color blue as shown on 3. LOL. Btw, "|" operator is OR?
  20. Zirius

    who has AnnieRuru's PVP Ladder with announcement files and SQL queries?

    I can only find this: http://neeroscriptcollection.blogspot.com/2013/08/pvp-dota-sound.html but I cannot understand it fully, google translate is blocked here in my network. it doesn't have the SQL queries. So if anyone has the Annie Ruru's PVP ladder, can somebody please share it? its eathena...
Back
Top