dungpt8782
-
Content Count
63 -
Joined
-
Last visited
Posts posted by dungpt8782
-
-
why not replace .@F with .F ?
nothing change
-
-
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?
-
-
How can i make only 1st guild claim reward?
-
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
How to set nodrop in current map
in Script Support
Posted
Hi, i'm using lastest GIT Hercules,
I added into my script:
but when i killed monster in the map, still drop items.
Somebody help me pls!