Jump to content

Mhalicot

Community Contributors
  • Content Count

    1971
  • Joined

  • Last visited

  • Days Won

    37

Posts posted by Mhalicot


  1. @@Yoh Asakura try this 

    -	script	blockdual	-1,{OnPCLoadMapEvent:	query_sql "SELECT `name` FROM `char` INNER JOIN `login` ON `login`.`account_id` = `char`.`account_id` WHERE `char`.`online` = '1' AND `login`.`last_ip` IN (SELECT `last_ip` FROM `login` WHERE `login`.`account_id` = '"+getcharid(3)+"')",.@name$;	for(@i = 0; @i < getarraysize(.@name$) && getarraysize(.@name$) > 1; @i = @i+1){		if(getcharid(0) == getcharid(0,.@name$[@i])) continue;		if(checkvending(""+ .@name$[@i] +"") != 0) continue;		atcommand "@adjgmlvl 0 "+.@name$[@i];		atcommand "@kick "+.@name$[@i];	}	if (getarraysize(.@name$) > 1) {		mes "^FF0000[Guardian]^000000";		mes "Sorry, you can't use double account in this place.";		close;	}end;} // Mapflagpvp_n_6-5	mapflag	loadevent

  2. @@zonesef

     

    are you sure about the client date?

    I've check it in here but it doesn't have 20131110 client.

     

    2013 client only have:

    [ ]	2013-03-13aRagexe.exe.zip [ ]	2013-03-20eRagexe.exe.zip[ ]	2013-05-15aRagexe.exe.zip [ ]	2013-05-22Ragexe.exe.zip [ ]	2013-05-29Ragexe.exe.zip [ ]	2013-06-05Ragexe.exe.zip [ ]	2013-06-12dRagexe.exe.zip [ ]	2013-06-18aRagexe.exe.zip [ ]	2013-06-26bRagexe.exe.zip [ ]	2013-07-03aRagexe.exe.zip [ ]	2013-07-10bRagexe.exe.zip[ ]	2013-07-17cRagexe.exe.zip [ ]	2013-07-24eRagexe.exe.zip[ ]	2013-07-31cRagexe.exe.zip [ ]	2013-08-07aRagexe.exe.zip[ ]	2013-08-14aRagexe.exe.zip

  3. Good day,

     

    I noticed just now that we have @Mention already.. How is it works?

    It will send notification when someone mentions you (@Nick) in post.

     

    To configure your notification:

    MyProfile->Edit MyProfile->Notification Options->Search Forums and check Notification list then save.

    IF you don't wish to receive notification, just uncheck it and save.

     

     

    Int'l Moderator,

    Mhalicot


  4. I believe there was a custom system some time ago for controlling mobs called Mob Controller. I actually implemented it and got it to work pretty well.

     

    I made a complex set of actions to perform for fighting yourself, it would essentially do the most "optimal" tasks and react to when you change gear (notice a difference in damage, or no damage at all) and act accordingly.

     

    I loved the system, I just never dove into it as much as it had potential. Not sure if it would replace the unit commands, but it could definitely benefit from it!

    @@Truly it will be nice if you will share your work :meow:


  5.  

    I dont have autopots,so because im using Windows, so i compile it using MSVS.

    I don't know what to do. Thanks anyway!  :D

    Update first your hercules and let me know if still have problem.


  6.  

    can I ask? why there is an empty #include in there? is it typo error? can you remove it in your code and recompile @autopots check if still have error?

     

    if theres error try to use autotpots

    still the same :(

    weird. sorry can't help its working my latest SVN.. is your server updated?


  7. // Chance:// 100 = 100%

    to reduce from 8 ~ 9  for example for this line

     

    // Armors
    0,66,0,0,100:0,100:0,100:0,100:0,60:0,40:0,40:0,20:0,20:0,10:0
     
    to
     
    // Armors
    0,66,0,0,100:0,100:0,100:0,100:0,60:0,40:0,40:0,10:0,10:0,1:0

     

    from 20% reduce to 10%

    from 10% reduce to 1% //Nearly imposible


  8.  

     

     

     

    Hercules Development Team presents

    _ _ _

    | | | | | |

    | |_| | ___ _ __ ___ _ _| | ___ ___

    | _ |/ _ '__/ __| | | | |/ _ / __|

    | | | | __/ | | (__| |_| | | __/__

    _| |_/___|_| ___|__,_|_|___||___/

     

    http://herc.ws/board/

     

    [info]: Hercules 32-bit for Linux

    [info]: Git revision (src): '47ff8ed7fa7603974a6f5e41b5290e5e24916317'

    [info]: Git revision (scripts): '47ff8ed7fa7603974a6f5e41b5290e5e24916317'

    [info]: OS version: 'Debian GNU/Linux 6.0.5 (squeeze) [i686]'

    [info]: CPU: 'Intel® Xeon® CPU E3-1270 v3 @ 3.50GHz [1]'

    [info]: Compiled with GCC v4.4.5

    [info]: Compile Flags: -g -O2 -pipe -ffast-math -Wall -Wextra -Wno-sign-compare -march=i686 -Wno-unused-parameter -Wno-clobbered -Wempty-body -Wformat-security -Wno-format-nonliteral -Wno-switch -Wno-missing-field-initializers -fno-strict-aliasing -DMAXCONN=16384 -I../common -DHAS_TLS -DHAVE_SETRLIMIT -DHAVE_STRNLEN -I/usr/include -DHAVE_MONOTONIC_CLOCK

    [info]: Server supports up to '1024' concurrent connections.

    [Warning]: HPM:plugin_load: failed to load 'plugins/autopots.so' (error: plugins/autopots.so: cannot open shared object file: No such file or directory), skipping...

    [status]: HPM: There are '1' plugins loaded, type 'plugins' to list them

     

     

    make[1]: Entering directory `/home/xxx/trunk/src/plugins'

    PLUGIN sample

    PLUGIN db2sql

    PLUGIN HPMHooking_char

    PLUGIN HPMHooking_login

    PLUGIN HPMHooking_map

    PLUGIN auraset

    CC autopots.c

    autopots.c: In function 'autoatpots_timer':

    autopots.c:79: warning: unused variable 'item'

    autopots.c: In function 'atcommand_autopots':

    autopots.c:133: warning: implicit declaration of function 'sscanf_s'

    autopots.c: In function 'autoatpots_timer':

    autopots.c:114: warning: array subscript is above array bounds

    autopots.c:120: warning: array subscript is above array bounds

    /tmp/ccxwrLU2.o: In function `atcommand_autosp':

    /home/xxx/trunk/src/plugins/autopots.c:231: undefined reference to `sscanf_s'

    /home/xxx/trunk/src/plugins/autopots.c:232: undefined reference to `sscanf_s'

    /home/xxx/trunk/src/plugins/autopots.c:228: undefined reference to `sscanf_s'

    /tmp/ccxwrLU2.o: In function `atcommand_autohp':

    /home/xxx/trunk/src/plugins/autopots.c:189: undefined reference to `sscanf_s'

    /home/xxx/trunk/src/plugins/autopots.c:190: undefined reference to `sscanf_s'

    /tmp/ccxwrLU2.o:/home/xxx/trunk/src/plugins/autopots.c:186: more undefined references to `sscanf_s' follow

    collect2: ld returned 1 exit status

    make[1]: *** [../../plugins/autopots.so] Error 1

    make[1]: Leaving directory `/home/xxx/trunk/src/plugins'

    make: *** [plugins] Error 2

    xxx@Nostalgic:~/trun

     

     

     

    Any solutions ?

    Cant reproduce. Make sure you are using version 4.1

    Im using 4.1

     

    now this

     

    CC autopots.c

    autopots.c: In function 'autoatpots_timer':

    autopots.c:79: warning: unused variable 'item'

    autopots.c: In function 'atcommand_autopots':

    autopots.c:133: warning: implicit declaration of function 'sscanf_s'

    autopots.c: In function 'autoatpots_timer':

    autopots.c:114: warning: array subscript is above array bounds

    autopots.c:120: warning: array subscript is above array bounds

    /tmp/cccZYPnY.o: In function `atcommand_autosp':

    /home/xxx/trunk/src/plugins/autopots.c:231: undefined reference to `sscanf_s'

    /home/xxx/trunk/src/plugins/autopots.c:232: undefined reference to `sscanf_s'

    /home/xxx/trunk/src/plugins/autopots.c:228: undefined reference to `sscanf_s'

    /tmp/cccZYPnY.o: In function `atcommand_autohp':

    /home/xxx/trunk/src/plugins/autopots.c:189: undefined reference to `sscanf_s'

    /home/xxx/trunk/src/plugins/autopots.c:190: undefined reference to `sscanf_s'

    /tmp/cccZYPnY.o:/home/xxx/trunk/src/plugins/autopots.c:186: more undefined references to `sscanf_s' follow

    collect2: ld returned 1 exit status

    make[1]: *** [../../plugins/autopots.so] Error 1

    make[1]: Leaving directory `/home/xxx/trunk/src/plugins'

    make: *** [plugins] Error 2

     

     

    Im sorry but I cant reproduce, I'm using the latest hercules version and autopots v4.1 it doesn't show any error upon compiling and I can use the command in game..


  9.  

    when I turn on my emulator is giving a Warning ERROR on some items.
    Could someone tell me how can I fix this?
     

     

     [Warning]: itemdb_read_cached_packages: unknown item '0' in package 'Pet_Egg_Scroll6'!
    [Warning]: itemdb_read_cached_packages: unknown item '0' in package 'July7_Scroll'!

    [Warning]: itemdb_read_cached_packages: unknown item '0' in package 'New_Year_Scroll'!

    [Warning]: itemdb_read_cached_packages: unknown item '0' in package 'New_Year_Scroll'!

    [Warning]: itemdb_read_cached_packages: unknown item '0' in package 'Ox_Tail_Scroll'!

    [Warning]: itemdb_read_cached_packages: unknown item '0' in package 'Ox_Tail_Scroll'!

    [Warning]: itemdb_read_cached_packages: unknown item '0' in package 'Lucky_Egg_C6'!

    [Warning]: itemdb_read_cached_packages: unknown item '0' in package 'Lucky_Egg_C2'!

    [Warning]: itemdb_read_cached_packages: unknown item '0' in package 'LUcky_Egg_C3'!

    [Warning]: itemdb_read_cached_packages: unknown item '0' in package 'Lucky_Egg_C4'!

    [Warning]: itemdb_read_cached_packages: unknown item '0' in package 'Lucky_Egg_C5'!

    [Warning]: itemdb_read_cached_packages: unknown item '0' in package 'Tw_Aug_Scroll'!

     

    The warning tells you the answer already check your item_packages.conf scan and remove does name.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.