Zirius
Members-
Content Count
261 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Staff Applications
Calendar
Everything posted by Zirius
-
Where are the messages Hercules outputs in Logs and how to change color?
Zirius replied to Zirius's question in Source Support
Bump. Edited as I learned it is in src/map/pc.c Hope somebody can help. -
for readability?
-
Replace: //give prize set @Rnd_Item, rand(0,(getarraysize(.Global_Array_Item)-1)); getitem .Global_Array_Item[@Rnd_Item],15; With: //give prize set @reward,512; //reward set @amount,1;//amount getitem @reward,@amount;
-
no its not the only way, you can still add your costume in your database manually.. make sure that you follow this Guide [WIKI]Custom Items Thanks man, figures out I have to put the "Job:" entry. Thanks man!
-
Hello! I am just wondering, is this the only way to allow costumes on Hercules? I simply tried making an existing headgears "loc: 1024" and then I cannot wear it. LOL.
-
I'll confirm this later bro. Thanks!
-
Hello! I'm running a very smooth hercules on my VPS and noticed that my guildmate's position on minimap lags. Is anyone having the same problem?
-
implementing a map on resnametable from existing map doesn't work
Zirius posted a question in Client-Side Support
I am wondering what could be the problem with this. I restored 2 old maps: payon & izlude, and they both works. payon's clone on pvp maps work. but not on izlude maps (pvp_y_8-2), it is still loading the new izlude maps, though in my resnametable: pvp_y_8-2.gnd#izlude.gnd# pvp_y_8-2.rsw#izlude.rsw# pvp_y_8-2.gat#izlude.gat# how come kRO is still loading the new izlude? my izlude town is using the old izlude, which works, so basically, just adding the 3 lines above will automatically make pvp_y_8-2 the old izlude right? I wonder why it is not working. hope somebody can help. -
bro, do you have example? I want my item to imitate the effect: @effect 219 tried doing varieties of this: {itemheal rand(325,405),0;atcommand @effect 207 22;} but I cannot really get the proper function.
-
Hello! I created a custom usable item based on awakening potion, it works great, the problem is I am having trouble to mimic the effect of normal awakening potion. Where do you edit that? Thanks!
-
Thanks! Its working.
-
EDIT. Tried recompiling twice on my centos server, but it seems to be not working. No error on console though. The @autotrade are still getting recalled.
-
Thanks! But haven't really relied on plugins before. Thanks man! source compile would should work on me. Thanks thanks!
-
Thanks man! Btw, do you have tools that can decode those bits? I want to know what other mode was used before I put my modifications? Suppose I got this: 0x3885 Is there a tool I can input that and it will show me all the bits used? Thanks!
-
Hello! I think there is a bug at using @recallall, the vendors that @autotrade are also being recalled. Is this a bug or Hercules allows that? How can I avoid it? Thanks!
-
I remember, when farmiliar/hunter fly chases you and you crossed a standing player, all those mobs will change target and attack the standing player. How to enable that? Tried googling but failed. Thanks!
-
Example of an NPC that checks if a player has already learned a skill?
Zirius replied to Zirius's question in Script Support
Thanks thanks thanks! -
Check how many items free space & available weight in inventory
Zirius replied to Zirius's question in Script Support
Sweet! Thanks man, will try that. -
Where are the messages Hercules outputs in Logs and how to change color?
Zirius posted a question in Source Support
Hello! If we allow to show exp gained/zeny gain in exp.conf Hercules succesfully displays it, but how can I modify the message and the color? Green is lame I think. LOL. UPDATE. How to change the color of "clif_disp_onlyself" output by src/map/pc.c? if(sd->state.showexp) { char output[256]; sprintf(output, "Experience Gained Base:%u (%.2f%%) Job:%u (%.2f%%)",base_exp,nextbp*(float)100,job_exp,nextjp*(float)100); clif_disp_onlyself(sd,output,strlen(output)); } -
Example of an NPC that checks if a player has already learned a skill?
Zirius replied to Zirius's question in Script Support
these functions (getskilllv()) and variables(SM_FATALBLOW). Sorry. -
Check how many items free space & available weight in inventory
Zirius replied to Zirius's question in Script Support
Sorry, got lost on: Why is this an array? Do you have example bro? -
Check how many items free space & available weight in inventory
Zirius posted a question in Script Support
Hello! I am going to create an NPC that gives non stackable items and afraid that if the player has no free space, he might not get them all. What function can give me something like if (freespace() > 5 && freeweight() > 3000 ) { //give 5 items with sum of 3000 weight } is there a function that gives freespace and free weight already? Thanks! -
Example of an NPC that checks if a player has already learned a skill?
Zirius replied to Zirius's question in Script Support
where can I get these stuffs? -
Example of an NPC that checks if a player has already learned a skill?
Zirius posted a question in Script Support
Hello! Can somebody please give an example of an NPC that checks if a player has already learned the skill. Example, Swordsman's Fatal Blow or Merchant's Change cart. Thanks! -
Noted! Thanks.