Dastgir
Script Developers-
Content Count
3805 -
Joined
-
Last visited
-
Days Won
250
Content Type
Profiles
Forums
Downloads
Staff Applications
Calendar
Everything posted by Dastgir
-
Treasure chest are spawned at 00:01 of Server time, so be sure you check server time. also, It only spawns if some guild has captured it.
-
You can use this if you want, Just please report if you found any bugs Link: http://upaste.me/f07e369360379b8b8 Read the description noted on the paste. Some Variables that should be changed to scope variable(.@) from npc variable(.), else some unexpected behavior can be there (2 GM's using the NPC, and resulting in some other char name and some other guild) .check .gldid .char$ .cgl$ .cgl2$
-
You need to use msgstring of your client, if you use other clients msgstring, it's most likely that lines won't match, and the client cant find suitable message to display.
-
Wow, You're a hound. Once you bite you never let go Dastgir. Amazing . Well, I just tested it and once the combination gets complicated it goes into infinite loop. What I had was '30 of 18740', '60 of 18840', '50 of 18940', and '70 of 19040' and map-server gave me an error message saying "infinite loop!" Dast, Can I call you that way? Haha . I am grateful. I am psyched with the first script you built, without "break;". Thank you so much for your passionate help. Great Btw, just in case anyone wants the 2nd type , the infinite error is caused due to many loop >100, which can be prevented by using freeloop command as shown here; .@q = 0; .@qd = 0; freeloop(1); for (.@i = 18660; .@i < 19223; ++.@i) { .@q += countitem(.@i); } freeloop(0); if (.@q < 100) { mes " "; close; } .@q = .@q/100; .@get = .@q; freeloop(1); for (.@i = 18660; .@i < 19223; ++.@i) { if (.@q <= 0) { getitem 19305, .@get; break; } .@qd += countitem(.@i); if (.@qd >= 100) { .@q -= .@qd/100; .@qd -= (.@qd/100)*100; delitem .@i, countitem(.@i)-.@qd; } if (.@q != 0) { delitem .@i, countitem(.@i); } } freeloop(0); mes "Successfully changed"; close;
-
I guess it's like, if you are going to be hit by critical, it will check then run this bonus chance and you would have 20% chance that the attack would no longer be critical
-
Alignment mistake(might be CSS), since it's a custom theme, we don't know how it is coded, it might be from CSS or styles hardcoded into php. I suggest to better ask the person from whom you got it, since we don't have any code of this theme to refer to.
-
You could try this maybe .@q = 0; .@qd = 0; for (.@i = 18660; .@i < 19223; ++.@i) { .@q += countitem(.@i); } if (.@q < 100) { mes " "; close; } .@q = .@q/100; .@get = .@q; for (.@i = 18660; .@i < 19223; ++.@i) { if (.@q <= 0) { getitem 19305, .@get; break; } .@qd += countitem(.@i); if (.@qd >= 100) { .@q -= .@qd/100; .@qd -= (.@qd/100)*100; delitem .@i, countitem(.@i)-.@qd; } if (.@q != 0) { delitem .@i, countitem(.@i); } } mes "Successfully changed"; close;
-
.@q = 0; .@qd = 0; for (.@i = 18660; .@i < 19223; ++.@i) { .@q += countitem(.@i); } if (.@q < 100) { mes " "; close; } .@q /= 100; .@get = .@q; for (.@i = 18660; .@i < 19223 && .@q != 0; ++.@i) { .@qd_bef = .@qd; .@qd += countitem(.@i); if (.@qd >= 100) { delitem .@i, ((.@qd-.@qd_bef)/100)*100; .@q -= .@qd/100; .@qd -= (.@qd/100)*100; } if (.@q != 0) { delitem .@i, countitem(.@i); } } getitem 19305, .@get; mes "Successfully changed"; close;Haven't tested, (it could have been done in more simpler way, but not having enough time to optimize it more)Edit: for previous script, if you remove "break;" it would consider more than 1 item in quantity of 100's
-
from what country? I'm from PH and ovh / sys is 220ms here. if you want low ping with ddos protection. pick los angeles.im from ph and using pldt also but i got 270 on ovh and 207 on LA... i tried looking at digital ocean but i cant seem find the right product can you guide me?DO: you need to create droplet
-
Most of the effect file names are hardcoded into client.
-
2014 Client How to fix inventory item limit full
Dastgir replied to Harmony's question in Client-Side Support
Yes, maximum inventory limit is 100. Though configurable at server side but most likely client would not act as expected if it's increased -
Admin: pcidentity: describes all job id. Other files in admin folder: describes name(I suppose they are used internally by the client) Spreditinfo(Sprite Edit Info): 2dlayerdir_f: used by robe to define to have big/small/medium sprite according to sprite mentioned in that file. SmallLayerDir,BigLayerDir: those files define the act which should be displayed(layers of robe were defined on _f file), based on the jobs.
-
char-server.conf: char_ip should be your WAN IP map-server.conf: map_ip should be your WAN IP
-
Show the server configuration. map-server.conf and all those Mostly, it's would be because wrong IP configuration, or port not forwarded
-
[2014-10-22b] Unable to see normal weapon sprites when attacking
Dastgir replied to Harmony's question in Client-Side Support
I guess itemInfo not having proper ClassNum? -
Each file name self describes what it does... Like accname.lua defines accessory(equip) sprite name, accessoryid.lua defines its sprite id.
-
Wouldn't it be same as modifying from db? Why not just change values in db?
-
I am having the same problem, can you please tell me how you fixed it? Configure IP properly on server side
-
How do i edit/make my own User Interface [UI]?
Dastgir replied to anolythe's question in General Server Support
You need to know about reverse engineering and all those stuff, which I say is having high difficulty level. So its not something that everyone can do.- 3 replies
-
- user interface
- ui
-
(and 2 more)
Tagged with:
-
Yeah. Me too love Hercules thats why i didnt switch to rAthena. :DFinally I converted it to Herc. I want to share it but we have rules we cant share if we're not the author.Hercules accepts any kind of contribution, since all the projects of RO are GPL licensed, you are free to modify/Share it , provided that you give proper credit to them. So you don't need to be the author to share it, you just need to provide proper credit of where you have taken the source from... And everything else is fine.
-
Really need a filtered WoE damage indicator
Dastgir replied to kanemi's question in General Server Support
Find if (clif->isdisguised(dst)) { clif->send(&p,sizeof(p),dst,AREA_WOS); p.targetGID = -dst->id; clif->send(&p,sizeof(p),dst,SELF); } else { clif->send(&p,sizeof(p),dst,AREA); } Change to if (clif->isdisguised(dst)) { clif->send(&p,sizeof(p),dst,AREA_WOS); p.targetGID = -dst->id; clif->send(&p,sizeof(p),dst,SELF); } else { if (battle_config.hide_woe_damage && map_flag_gvg2(src->m)) { clif->send(&p,sizeof(p),dst,SELF); p.damage = damage?div:0; p.leftDamage = damage2?div:0; clif->send(&p,sizeof(p),dst,AREA_WOS); } else { clif->send(&p,sizeof(p),dst,AREA); } } -
Because the pointer is still uninitialized. Have you called inter_clan_defaults() Function to initialize the pointers?
-
Personal tip: eAmod is buggy and that one is not updated from long time. I suggest you to use some other emulator