Jump to content

Mhalicot

Community Contributors
  • Content Count

    1971
  • Joined

  • Last visited

  • Days Won

    37

Posts posted by Mhalicot


  1. Works for me but the background of the login is black how to fix this.

     

    still use langtype 7.

     

    add this in your clientinfo

        <passwordencrypt />

     

    Sample :

    <?xml version="1.0" encoding="euc-kr" ?><clientinfo>	<desc>Ragnarok Client Information</desc>	<servicetype>korea</servicetype>	<servertype>sakray</servertype>	<passwordencrypt />	<connection>		<display>SERVER NAME HERE</display>		<desc>Ragnarok Online</desc>		<balloon>this is a tool tip</balloon>		<address>SERVER IP HERE</address>		<port>6900</port>		<version>20</version>		<langtype>7</langtype>		<registrationweb>REGISTRATION URL HERE</registrationweb>		<yellow>			<admin>2000001</admin>		</yellow>		<loading>			<image>loading00.jpg</image>			<image>loading01.jpg</image>		</loading>	</connection></clientinfo>

     

    SlashGeeGee

     

    Works for me but the background of the login is black how to fix this.

    Use NEMO patcher and patch Restore Login window


  2.  

     

    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


  3. Hi guys,

     

    I have a question about the settings in my server. I'm trying different configurations in-game (GM clothes, customs, etc) and when I try with bosses hitting me, all of the sudden my HP drops to 1 and then they kill me. It's like they're putting me in Coma.

     

    Needless to say that I have all stats well over 25,000.

     

    For example, when I summon PORING_V, it hits me from time to time and all of the sudden my life goes to 1 and then I die with any hit. How can I stop this? What setting is it?

     

    Thanks!

    Try using @monsterignore.

    @monsterignoreMakes you immune to attacks (monsters/players/skills cannot target/hit you).

  4.  

     

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

     im using linux centos

     

    can reproduce. make sure that you compile the plugins without error.

     

    Update:

    • 4.1 Fixed Compiling Error and Update to latest Revision e9d6955 [Mhalicot]


  5.  

    using latest GIT version... :)

    got this error after = make clean && make sql ->./congifure && make all...

     

     
    [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

     

    Cant reproduce, make sure that you are using 1.4


  6.  

    
    

    query_sql( "SELECT `x` FROM `y` WHERE `char_id` = '"+escape_sql( getcharid(0) )+"'",.@status);

     

    https://rathena.org/wiki/Query_sql

     

     

    I want to show all items sent by the character in a npc dialogue.

     

    you need to look at

    picklog table: type field

    mysql limit, you need to offset to show them all

     
     
    Not Tested Sample

    query last 20 items that you sent in storage sample

    set .@nb, query_logsql("SELECT nameid, amount FROM picklog WHERE type='R' AND amount<0 AND char_id=150000 ORDER BY time DESC LIMIT 20",.@item,.@amount);
    for(set .@i,0; .@i < .@nb; set .@i,.@i+1)
    mes .@item[.@i] +" "+ .@amount[.@i];

     

    *set <variable>,<expression>;*set(<variable>,<expression>)This command is deprecated and it shouldn't be used in new scripts, exceptsome special cases (mostly, set getvariableofnpc). Use direct valueassignment instead.

    so for example:

    instead of usingset .@nb, query_sql("select name,fame from `char` ORDER BY fame DESC LIMIT 5", .@name$, .@fame);use.@nb = query_sql("select name,fame from `char` ORDER BY fame DESC LIMIT 5", .@name$, .@fame);

     

     

     


  7. opps.. downloaded 2013-12-23 client and it all works..... thanks for the help man...... :)

    All in all great tutorial and support for newbies.... thanks :)

     

     

     

    well next stop... maybe can suggest a good post for:

    *how to put job changer npc

    *how to make items npc(weapon npc, armor and the like)

     

     

     

     

    There are some helpful guide in our Blog like Crash Course: Scripting 101-ACrash Course: Scripting 101-B, Scripting Academy, etc.. try to explore using search.. Good Luck :meow:


  8.  

    it is possible to download the emulator with the tortoise, without having the misfortune to come
     
    GD_GUILD_STORAGE
    zones
    rathena
     
    among billions of files that comes along ...?
     
     
     
     
    I'm trying the link
     
     
     
    but has many unnecessary files together.
     
    thanks

     

     

     

    Use tortoiseGit

    That happens because git and svn are totally different, git handle branches as whole new thing, while svn would just create new folder for all branches that the repo has..

     

    As far as I know you can, Just add trunk in the link to checkout the master only without the branches: zone, rathena, etc.... for example: 

     

    https://github.com/HerculesWS/Hercules/trunk

  9.  

    already using langtype 0 here's my clientinfo

     

     

    <?xml version="1.0" encoding="euc-kr"?><clientinfo><servicetype>korea</servicetype><servertype>primary</servertype>   <connection>      <display>Test</display>      <balloon>Test</balloon>      <desc>Test</desc>      <address>127.0.0.1</address>      <port>6900</port>      <version>27</version>      <langtype>0</langtype>      <registrationweb>google.com</registrationweb>        <aid>            <admin></admin>        </aid>        <loading>            <image></image>        </loading>   </connection></clientinfo>

    I'd try to reproduce but no luck, lets wait for others comment..


  10. yes. just gives me the same thing. I am also looking at the qs file, but no idea to where to begin. lol. everything seems to be fine, its just this and the font seems to be a bit off ( feels like ) 

    Hmm, I use the same client but /showname works for me... what langtype you use? can you try to use langtype 0?

×
×
  • Create New...

Important Information

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