Elsa
-
Content Count
22 -
Joined
-
Last visited
Posts posted by Elsa
-
-
-
This not working
{ Zeny = Zeny + callfunc( "F_Rand", 5, 100, 1000, 10000, 100000, 1000000 ); }
Just use normalsetitemscript 668, "{ if ( rand(1000) < 200 ) { getitem 5374, 1; getitem 30002, 50; getitem 30001, 30;} else { set Zeny,Zeny+rand(1000000,10000000); } }";
Thanks @evilpuncker -
-
Hello Hercules.
im trying to put this script on my event script but its give an error undeclare function
script:
OnInit: // 1.5% chance getting gold coin , else get random money of 100,1000,10000,100000,1000000 setitemscript 668, "{ if ( rand(1000) < 15 ) getitem 5374, 1; getitem 30002, 50; 30001, 30; else zeny = zeny + callfunc( "F_RandMes", 5, 100, 1000, 10000, 100000, 1000000 ); }"; end;
How to make the script works? its for random item and zeny.
Thanks in advance
-
Better check up?! Maybe mysql crashes??Thanks for th reply guys. Really appreciate.
import your logs.sql in your mysql
@Naori
logs.sql is already imported.
Is your mysql running ??
Dastgir : i guess they are running because this problem accur when server running at least 4 5 hrs.
its happen again, but it crasheh the sql table 'char' and it need to be repair...
Datsgir, how to fix about the crash? to prevent it to happen again.
p/s : i already fix the crash 'char' table.
-
Maybe you previously ignored this message, or maybe you transfered/upgraded the Hercules.loooooool xD the error message said exactly what is the problem and what you need to do in order to fix it:
change "zeny" into "Zeny" (case sensitive)
I know and clearly what the error mean. But where is "(in 'loading char/acc variables')"?
Yeap, my English not very good, and yet LOL is seem suit to me.
The only solution is update char_reg_num_db and replace all zeny with Zeny.
im sorry for not very helpfull on this.
did char_reg_num_db is sql table? bcause i dont see any field or content in the table named with zeny nor Zeny...
-
loooooool xD the error message said exactly what is the problem and what you need to do in order to fix it:
change "zeny" into "Zeny" (case sensitive)
I know and clearly what the error mean. But where is "(in 'loading char/acc variables')"?
Yeap, my English not very good, and yet LOL is seem suit to me.
-
Better check up?! Maybe mysql crashes??Thanks for th reply guys. Really appreciate.
import your logs.sql in your mysql
@Naori
logs.sql is already imported.
Is your mysql running ??
Dastgir : i guess they are running because this problem accur when server running at least 4 5 hrs.
Im replacing src/login/ipban and re-import logs sql.
Im tracing them now, my server just got up 15 minutes ago. I will come back later if i got somthing.
-
[Error]: script_add_str: detected possible use of wrong case in a script. Found 'zeny', probably meant to be 'Zeny' (in 'loading char/acc variables').
Hello hErcules,
i have no idea what cause of this error. never get this.If someone have facing this kind of problem in the pass, i need your advice how to make this error disappear forever. Im allergic on RED color words on my console..Thank for reading. -
Thanks for th reply guys. Really appreciate.
import your logs.sql in your mysql
@Naori
logs.sql is already imported.
Is your mysql running ??
Dastgir : i guess they are running because this problem accur when server running at least 4 5 hrs.
-
[SQL]: DB error - Can't connect to MySQL server on '127.0.0.1' (111)[Debug]: at ipban_sql.c:218 - SELECT count(*) FROM `ipbanlist` WHERE `rtime` > NOW() AND (`list` = '125.*.*.*' OR `list` = '125.212.*.*' OR `list` = '125.212.121.*' OR `list` = '125.212.121.17')[Status]: Connection refused: IP isn't authorized (deny/allow, ip: 125.212.121.17).[SQL]: DB error - Can't connect to MySQL server on '127.0.0.1' (111)[Debug]: at loginlog_sql.c:90 - INSERT INTO `loginlog`(`time`,`ip`,`user`,`rcode`,`log`) VALUES (NOW(), '125.212.121.17', 'unknown', '-3', 'ip banned')[Info]: Closed connection from '125.212.121.17'.[SQL]: DB error - Can't connect to MySQL server on '127.0.0.1' (111)[Debug]: at ipban_sql.c:218 - SELECT count(*) FROM `ipbanlist` WHERE `rtime` > NOW() AND (`list` = '219.*.*.*' OR `list` = '219.92.*.*' OR `list` = '219.92.128.*' OR `list` = '219.92.128.169')[Status]: Connection refused: IP isn't authorized (deny/allow, ip: 219.92.128.169).[SQL]: DB error - Can't connect to MySQL server on '127.0.0.1' (111)[Debug]: at loginlog_sql.c:90 - INSERT INTO `loginlog`(`time`,`ip`,`user`,`rcode`,`log`) VALUES (NOW(), '219.92.128.169', 'unknown', '-3', 'ip banned')[Info]: Closed connection from '219.92.128.169'.[SQL]: DB error - Can't connect to MySQL server on '127.0.0.1' (111)[Debug]: at ipban_sql.c:218 - SELECT count(*) FROM `ipbanlist` WHERE `rtime` > NOW() AND (`list` = '61.*.*.*' OR `list` = '61.94.*.*' OR `list` = '61.94.173.*' OR `list` = '61.94.173.52')[Status]: Connection refused: IP isn't authorized (deny/allow, ip: 61.94.173.52).[SQL]: DB error - Can't connect to MySQL server on '127.0.0.1' (111)[Debug]: at loginlog_sql.c:90 - INSERT INTO `loginlog`(`time`,`ip`,`user`,`rcode`,`log`) VALUES (NOW(), '61.94.173.52', 'unknown', '-3', 'ip banned')
its make my map-server crash.
-
Most GNU/Linux apache error logs are going to be at /var/log/apache2/error.log OR /var/log/httpd/error.log. You may need root or sudo to view.
I do have access to my root, and i have the log, but i dont know how to rproduce the error.
[Wed Jan 14 03:47:08 2015] [error] [client IP] File does not exist: /etc/zpanel/panel/css[Wed Jan 14 10:16:59 2015] [error] [client IP] File does not exist: /etc/zpanel/panel/pma[Wed Jan 14 10:17:00 2015] [error] [client IP] File does not exist: /etc/zpanel/panel/myadmin[Wed Jan 14 10:17:00 2015] [error] [client IP] File does not exist: /etc/zpanel/panel/MyAdmin
Try to use 'tail -f /var/log/apache2/error.log' at the same time when you trying to create account in FluxCP.
try this edit 'module/account/create.php'
default:
-$errorMessage = Flux::message('CriticalRegisterError');
+$errorMessage = $e->getMessage();
break;
so that you can see the full details of the exception....
"Congratulations, you have been registered successfully and automatically logged in."
finally, i do not know how or remember how do i fix this. After im geting a break/nap from fixing this for 3 days when i woke up its already fix... :3
Thanks u guys for helping me out on this annoying problem...
and
-
Most GNU/Linux apache error logs are going to be at /var/log/apache2/error.log OR /var/log/httpd/error.log. You may need root or sudo to view.
I do have access to my root, and i have the log, but i dont know how to rproduce the error.
[Wed Jan 14 03:47:08 2015] [error] [client IP] File does not exist: /etc/zpanel/panel/css[Wed Jan 14 10:16:59 2015] [error] [client IP] File does not exist: /etc/zpanel/panel/pma[Wed Jan 14 10:17:00 2015] [error] [client IP] File does not exist: /etc/zpanel/panel/myadmin[Wed Jan 14 10:17:00 2015] [error] [client IP] File does not exist: /etc/zpanel/panel/MyAdmin
-
Try to check your web-server error log.
Thank for the reply...
Can you tell me where can i see these log? Im totaly have a low knowledge on web-server things...
-
Hallo Hercules community,
Ive got some problem with my fluxcp.
Picture below :
This is my first time installing Hercules Fluxcp.
For information, i already make a debug mood but there is no error... its just give message like picture above.
Appreciate for the assistant.
-
File Name: [AtCommand] autoatk
File Submitter: Mhalicot
File Submitted: 18 Oct 2013
File Category: Plugins
HPM @autoatk complete package.
Compatible with Windows System Only
if you are using Linux, ignore other files and use only autoattack.c and recompile it.. follow this steps
Instruction.some Linux Systwem got many bugs with files what are allready compiled under VS2010 .
1. Download and extract files using 7z or any application that can extract it.
2. extract it in your server directory ex: C:/RO Server/Hercules/
2.1 if ask for Overwrite files? click OK.
3. Your done. you can now try your plugins.
In Recompiling:
If you are using VS2010
>right click autoatk>Configuration Properties>General>
search for Platform Toolset, change to VS2009(v90) / VS2010(v100) / VS2012(v110) / VS2013(v120)
then try to recompile again..
If you have any questions feel free to drop a comment.the command is @autoatk.
If you want to edit look for src/plugins/autoattack.c
for more info on using HPM Click Me
Original Released by: ossi0110
Requested by: Karazu
Click here to download this file
got this error after = make clean && make sql ->./congifure && make all...
using latest GIT version...
[info]: Hercules 64-bit for Linux[info]: Git revision (src): '3dc29e4a4ecdc2f474223461bd18d5beabcd9994'[info]: Git revision (scripts): '3dc29e4a4ecdc2f474223461bd18d5beabcd9994'[info]: OS version: 'CentOS release 6.6 (Final) [x86_64]'[info]: CPU: 'QEMU Virtual CPU version (cpu64-rhel6) [4]'PLUGIN HPMHooking_map CC autoattack.cautoattack.c: In function ‘autoattack_timer’:autoattack.c:78: error: ‘timer’ undeclared (first use in this function)autoattack.c:78: error: (Each undeclared identifier is reported only onceautoattack.c:78: error: for each function it appears in.)autoattack.c: In function ‘atcommand_autoatk’:autoattack.c:97: error: ‘timer’ undeclared (first use in this function)autoattack.c: In function ‘plugin_init’:autoattack.c:113: error: ‘timer’ undeclared (first use in this function)make[1]: *** [../../plugins/autoattack.so] Error 1
-
I suggest use hercules and make use of our cool db entry for skill_tree.conf
this will make Swordsman used a 3rd job skill Enchantblade and Sonicwave
Swordsman: {inherit: ( "Novice" );skills: {RK_ENCHANTBLADE: { MaxLevel: 5 } RK_SONICWAVE: { MaxLevel: 5 RK_ENCHANTBLADE: 3 } SM_SWORD: 10 SM_TWOHAND: { MaxLevel: 10 SM_SWORD: 1 } SM_RECOVERY: 10 SM_BASH: 10 SM_PROVOKE: 10 SM_MAGNUM: { MaxLevel: 10 SM_BASH: 5 } SM_ENDURE: { MaxLevel: 10 SM_PROVOKE: 5 } SM_MOVINGRECOVERY: 1 SM_FATALBLOW: 1 SM_AUTOBERSERK: 1}}
Preview:
nvm, someone from Hercules already help me without quering what emulator im use or should migrate from another emulator...
btw, thanks alot...
we don't want to sound mean when asking which emulator you use, we ask it because there are different ways to solve the same problem depending on the emulator you use, I'm glad you got it solved
http://herc.ws/board/topic/4709-myzters-antibot-botkiller-6/?p=30815
-
nvm, someone from Hercules already help me without quering what emulator im use or should migrate from another emulator...
btw, thanks alot...
-
im usind rA, r17704. ive already ask there but no body response...
-
Hello community,
i dont know if im posting this in a right section because its include both side, client and server.
ive got some problem, but i couldnt manage to make it work.
i try to add 3rd job skill to my 2nd job. the skill appear in-game but i cant use its, seem like it have something missing. it have been 2 days and im really tired.... trying to search on .com but nothing comes up....
above is in-game, the skill appears but cant use it.
below is all my all .lua files...
skillinfo/skilltreeview.lua
[4019] = { {"CR_CULTIVATION", 491; Pos = 5, MaxLv = 2, NeedSkillList = {}}, {"CR_SLIMPITCHER", 478; Pos = 9, MaxLv = 10, NeedSkillList = {8}}, {"CR_ACIDDEMONSTRATION", 490; Pos = 23, MaxLv = 10, NeedSkillList = {15, 22}}, {"CR_FULLPROTECTION", 479; Pos = 31, MaxLv = 5, NeedSkillList = {3, 10, 17, 24}}, {"WL_EARTHSTRAIN", 2216; Pos = 32, MaxLv = 5, NeedSkillList = {}}, {"WM_REVERBERATION", 2414; Pos = 33, MaxLv = 5, NeedSkillList = {}}, {"WM_DOMINION_IMPULSE", 2417; Pos = 34, MaxLv = 1, NeedSkillList = {}} },
skillinfoz/skillinfolist.lua
[SKID.WL_EARTHSTRAIN] = { "WL_EARTHSTRAIN"; SkillName = "Earth Strain", MaxLv = 5, SpAmount = { 70, 78, 86, 94, 102 }, bSeperateLv = true, AttackRange = { 6, 6, 6, 6, 6 }, },
as you can see i already move skill require to unlock the skill.
skillinfoz/skilltreeview.lua
[JOBID.JT_ALCHEMIST_H] = { [5] = SKID.CR_CULTIVATION, [9] = SKID.CR_SLIMPITCHER, [23] = SKID.CR_ACIDDEMONSTRATION, [31] = SKID.CR_FULLPROTECTION, [32] = SKID.WL_EARTHSTRAIN, [33] = SKID.WM_REVERBERATION, [34] = SKID.WM_DOMINION_IMPULSE }
,
and below is my skill_db
//Creator4019,1,9,0,0,0,0,0,0,0,0,0,0 //NV_BASIC#Basic Skill#4019,142,1,0,0,0,0,0,0,0,0,0,0 //NV_FIRSTAID#First Aid#4019,36,10,0,0,0,0,0,0,0,0,0,0 //MC_INCCARRY#Enlarge Weight Limit#4019,37,10,36,3,0,0,0,0,0,0,0,0 //MC_DISCOUNT#Discount#4019,38,10,37,3,0,0,0,0,0,0,0,0 //MC_OVERCHARGE#Overcharge#4019,39,10,36,5,0,0,0,0,0,0,0,0 //MC_PUSHCART#Pushcart#4019,40,1,0,0,0,0,0,0,0,0,0,0 //MC_IDENTIFY#Item Appraisal#4019,41,10,39,3,0,0,0,0,0,0,0,0 //MC_VENDING#Vending#4019,42,10,0,0,0,0,0,0,0,0,0,0 //MC_MAMMONITE#Mammonite#4019,153,1,0,0,0,0,0,0,0,0,0,0 //MC_CARTREVOLUTION#Cart Revolution#4019,154,1,0,0,0,0,0,0,0,0,0,0 //MC_CHANGECART#Change Cart#4019,155,1,0,0,0,0,0,0,0,0,0,0 //MC_LOUD#Crazy Uproar#4019,226,10,0,0,0,0,0,0,0,0,0,0 //AM_AXEMASTERY#Axe Mastery#4019,227,10,0,0,0,0,0,0,0,0,0,0 //AM_LEARNINGPOTION#Potion Research#4019,228,10,227,5,0,0,0,0,0,0,0,0 //AM_PHARMACY#Prepare Potion#4019,229,5,228,4,0,0,0,0,0,0,0,0 //AM_DEMONSTRATION#Bomb#4019,230,5,228,5,0,0,0,0,0,0,0,0 //AM_ACIDTERROR#Acid Terror#4019,231,5,228,3,0,0,0,0,0,0,0,0 //AM_POTIONPITCHER#Aid Potion#4019,232,5,228,6,0,0,0,0,0,0,0,0 //AM_CANNIBALIZE#Summon Flora#4019,233,5,228,2,0,0,0,0,0,0,0,0 //AM_SPHEREMINE#Summon Marine Sphere#4019,234,5,236,3,0,0,0,0,0,0,0,0 //AM_CP_WEAPON#Alchemical Weapon#4019,235,5,237,3,0,0,0,0,0,0,0,0 //AM_CP_SHIELD#Synthesized Shield#4019,236,5,235,3,0,0,0,0,0,0,0,0 //AM_CP_ARMOR#Synthetic Armor#4019,237,5,228,2,0,0,0,0,0,0,0,0 //AM_CP_HELM#Biochemical Helm#4019,238,1,0,0,0,0,0,0,0,0,0,0 //AM_BIOETHICS#Basis of Life#4019,243,1,244,1,0,0,0,0,0,0,0,0 //AM_CALLHOMUN#Call Homunculus#4019,244,1,238,1,0,0,0,0,0,0,0,0 //AM_REST#Peaceful Rest#4019,247,5,243,1,0,0,0,0,0,0,0,0 //AM_RESURRECTHOMUN#Ressurect Homunculus#//4019,392,5,228,5,0,0,0,0,0,0,0,0 //CR_ALCHEMY#Alchemy#//4019,393,5,228,6,390,2,0,0,0,0,0,0 //CR_SYNTHESISPOTION#Potion Synthesis#4019,478,10,231,5,0,0,0,0,0,0,0,0 //CR_SLIMPITCHER#Aid Condensed Potion#4019,479,5,234,5,235,5,236,5,237,5,0,0 //CR_FULLPROTECTION#Full Protection#4019,490,10,229,5,230,5,0,0,0,0,0,0 //CR_ACIDDEMONSTRATION#Acid Demonstration#4019,491,2,0,0,0,0,0,0,0,0,0,0 //CR_CULTIVATION#Cultivation#4019,410,1,0,0,0,0,0,0,0,0,0,0 //WE_CALLBABY#Call Baby#4019,446,1,0,0,0,0,0,0,0,0,0,0 //AM_BERSERKPITCHER#Berserk Pitcher#4019,496,1,228,10,0,0,0,0,0,0,0,0 //AM_TWILIGHT1#Twilight Alchemy 1#4019,497,1,228,10,0,0,0,0,0,0,0,0 //AM_TWILIGHT2#Twilight Alchemy 2#4019,498,1,228,10,229,5,230,5,0,0,0,0 //AM_TWILIGHT3#Twilight Alchemy 3#4019,2216,5,0,0,0,0,0,0,0,0,0,0 //WL_EARTHSTRAIN#Earth Strain#4019,2414,5,0,0,0,0,0,0,0,0,0,0 //WM_REVERBERATION#Reverberation#4019,2417,1,0,0,0,0,0,0,0,0,0,0 //WM_DOMINION_IMPULSE#Dominion Impulse#
here i also remove the require skill to unlock the skill....
i hope there is someone could lend they hand on this.... thank you before hand....
[Showcase] Capital, my 2 cent map.
in Map Showcase
Posted
yeah indeed.
its r586. i believe this is the most stable version that i know. But if u want new features you i suggest that you use the latest one. Im using r586 just for fun and as my first attempt.