Jump to content

Zirius

Members
  • Content Count

    261
  • Joined

  • Last visited

Everything posted by Zirius

  1. 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 mysql stuff. Sorry, I am not familiar with compiling, so have no idea if this topic is absurd. LOL. THanks!
  2. 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 using? P.S. Nemo Patcher can't diff it for me.
  3. 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.
  4. tried this thrice, but still the problem occurs, are you using the plugin on latest git? I convert it into a script command *storeitem <item name or ID>,<amount>,<identify>,<refine>,<attribute>,<card1>,<card2>,<card3>,<card4>{,"<char name>"or<account id>}; storeitem.c Sweet thanks. Will try this later. actually, I made the plugin work with the latest git few days ago. Just can't create diff file for now to share it. Will update it as soon as I get on my personal network. Thanks!
  5. tried this thrice, but still the problem occurs, are you using the plugin on latest git?
  6. Zirius

    @storeitem

    I can confirm the same problem, replacing the functions as per suggested by Visual Express cause additional problem. ? Will confirm if having problem in *nix later.
  7. I am having trouble compiling. But seems like that plugin is what I need.
  8. I manage to have sql query to add the items, but seems like I would need to make the player kicked via @kick command. Any lesser ugly way?
  9. 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, etc.). Thanks!
  10. Zirius

    Stock NPC

    Joke. LOL. Btw, you can with flag 3: callshop "shop",3;
  11. Zirius

    Stock NPC

    challenge accepted; prontera,150,160,6 script HaiMarket 4_F_EDEN_OFFICER,{if(!$lock && !$stock) set $stock,30000;set $lock,1;set .item,512;set .price,10;if($stock){mes "I can sell "+ $stock +", how many do you wanna buy?";next; while(input(.@guess, 1, $stock)) { mes "[Woman]"; mes "Didn't you listen before? i can only sell up to "+ $stock; next; } mes "[Woman]"; { .@cost = .@guess * .price; if (Zeny<.@cost) {mes "you don't have enaf zeny"; close;} set Zeny,Zeny-.@cost; set $stock,$stock-.@guess; getitem .item,.@guess; mes "Well done."; } close;} else { mes "no more"; close;}} is this what you want?
  12. Sorry, I thought it works, since I observe most PHP functions exist at Hercules. LOL.
  13. 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.
  14. LOL. I needed to remove the "attachrid xxx" in my script, don't know how they works, but without them the undesirable results had been removed.
  15. Bro! I can confirm that at party members, the marker doesn't lag. But for guildmates, the marker update is too low and the lag is very big. Does this require src edit?
  16. 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; <~~~~ (1) attachrid killerrid; set @char,@char+1; <~~~~ (2)end; (1) Does "attachrid killedrid;" means, any character variable declaration will go to the character of killed char? (2) Does "attachrid killerrid;" means, any character variable declaration will go to the killer? Because I tried to do the above but I am having undesirable result.
  17. 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 modification, it goes to recent commits. So, I GIT pull me local copy, but, seems I cannot find those recent commits, does it mean I will have to wait for the "ULTRA MEGA PATCH" to have them? Sorry, have no idea how GIT works.
  18. 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!
  19. But still mam, the script is not successful at awarding kill to the monster master, and adding death count to the killed player. Actually, on the contrary, the killed players would actually have the point as KILL. This bug occurs for players got killed by "monsters with master".
  20. 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 restricts kills to only Players. (actually, I wish the script also counts the kills from the homun, summoned units, mercenary) SO, the only thing that is suspicious to me is "attachrid killedrid" when a player got killed by the summoned flora, the script successfully displays the character name of the flora owner, BUT, I am wondering why does it increase the points for the KILLED player rather than the KILLER. is this "attachrid killedrid" bug or the script has something I overlooked?
  21. Why don't you try the FluxCP's module for that? modules/guild contains emblem.php, while index.php outputs it.
×
×
  • Create New...

Important Information

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