dungpt8782
Members-
Content Count
63 -
Joined
-
Last visited
Content Type
Profiles
Forums
Downloads
Staff Applications
Calendar
Everything posted by dungpt8782
-
Hi, i'm using lastest GIT Hercules, I added into my script: 06guild_01 mapflag nodrop but when i killed monster in the map, still drop items. Somebody help me pls!
-
I need help to check variable exist !!!
dungpt8782 replied to dungpt8782's question in Script Support
nothing change -
I need help to check variable exist !!!
dungpt8782 replied to dungpt8782's question in Script Support
edited -
function script Test { mes "[Test]"; for(set .@i,1; getd(".@F"+.@i+"[0]"); set .@i,.@i+1) mes " .@F+.@i+"[0] is exist"; close; OnInit: setarray .@F1[0],30712,1,30711,2; setarray .@F2[0],30713,1,30712,2; end;} How to make FOR work in case the conditions of the test variables exist? I made this script and work good with rAthena, but did not work in Hercules Somebody help me pls!!!!
-
Thank you so much Dastgir, but i must change sscanf to sscanf_s to build this plugin. It's still working fine? I have 1 more thing to need your help, pls show me, how to let user select aura from aura collection?
-
I'm using lastest Hercules Git. Help me pls!
-
Ultimate Guild Ranker
dungpt8782 replied to Dastgir's topic in PvP, WoE, GvG, & Battleground Releases
How can i make only 1st guild claim reward? -
Need help with Cash point from donate !!!
dungpt8782 replied to dungpt8782's question in Database Support
somebody help me pls!!! -
Hi, i'm newbie and i need to help for this problem: $sql = "SELECT value AS acc_cash FROM {$server->charMapDatabase}.acc_reg_num_db WHERE key='#CASHPOINTS' AND account_id={$session->account->account_id}"; $sth = $server->connection->getStatement($sql); $sth->execute(); $oldcash = $sth->fetch()->acc_cash; if ($oldcash > 0){ $cashpoint = $oldcash + $newcash; $sql = "UPDATE {$server->charMapDatabase}.acc_reg_num_db SET value = '".$cashpoint."' WHERE key='#CASHPOINTS' AND account_id={$session->account->account_id}"; $sth = $server->connection->getStatement($sql); $sth->execute(); } else { $cashpoint = $newcash; $sql = "INSERT INTO {$server->charMapDatabase}.acc_reg_num_db (`key`,`value`,`type`,`account_id`) VALUES ('#CASHPOINTS',$cashpoint,2,{$session->account->account_id})"; $sth = $server->connection->getStatement($sql); $sth->execute(); This code used to make for rAthena serrver. Now i change it to use with Hercules but its not work. Someone can help me pls!!! Sorry, my English is bad, i hope you can understand me
-
Hi, Im using Hercules to make my Pre-Renewal server. When i used Ankle Snare to trap monster, it will teleport when i hit them. How can i make it to no teleport ? Thank you for yr help, sorry, my English is bad
-
Hi, I just make event "MVP killer" and i want to make it harder. When MVP alive, that map will switch to PK ON, and OFF when MVP dead. Thank you for help!
-
Hi, I'm newbie in Hercules. I used rAthena before, and they have /db/import to load other custome in itemdb, cash shop, etc... http://rathena.org/wiki/Import_folder/db Can I make it with Hercules. Sorry, my engllish is bad