Jump to content

guhx

Members
  • Posts

    27
  • Joined

  • Last visited

About guhx

  • Birthday 07/25/1994

Profile Information

  • Gender
    Male
  • Location
    Brasil

Recent Profile Visitors

2712 profile views

guhx's Achievements

Poring

Poring (1/15)

0

Reputation

  1. guhx

    Autoloot bug

    I didn't make any changes to the source. The inventory is not full and the character is not weighed. I think there must be some configuration that changes if, on dying at the same moment that it kills, the drops fall to the ground instead of going to the inventory, but I already searched for everything and found nothing.
  2. guhx

    Autoloot bug

    I have a problem, for example. I use @autoloot, the command works normally, it happens when I kill the monster and at the same time I die, the items fall to the ground instead of coming to my inventory. I don't know what could be causing this ..
  3. Hello. My server was online normally, when suddenly the skills stopped working. No skill works. I did not change anything in MAPFLAG. Does anyone have an idea of what it might be?
  4. All the ports are open Chain PREROUTING (policy ACCEPT) target prot opt source destination Chain POSTROUTING (policy ACCEPT) target prot opt source destination Chain OUTPUT (policy ACCEPT) target prot opt source destination
  5. I am having trouble installing rAFluxCP. The problem is in the connection between my FluxCP (which is hosted on my site) and the database on my server (which is hosted in my VPS). I created a user to access mysql with any user (%), but the error displayed below persists and I do not know how to solve it. Error: PDOException Message: SQLSTATE[HY000] [2002] Connection refused File: /home/bovtikaz/public_html/cp/lib/Flux/Connection.php:81
  6. Can anyone help me with compiling? [rathena4444@woero emulador]$ ./configure checking for g++... g++ checking whether the C++ compiler works... yes checking for C++ compiler default output file name... a.out checking for suffix of executables... checking whether we are cross compiling... no checking for suffix of object files... o checking whether we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking how to run the C++ preprocessor... g++ -E checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking for ANSI C header files... yes checking for sys/types.h... yes checking for sys/stat.h... yes checking for stdlib.h... yes checking for string.h... yes checking for memory.h... yes checking for strings.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for unistd.h... yes checking minix/config.h usability... no checking minix/config.h presence... no checking for minix/config.h... no checking whether it is safe to define __EXTENSIONS__... yes checking whether make sets $(MAKE)... yes checking for gcc... gcc checking whether we are using the GNU C compiler... yes checking whether gcc accepts -g... yes checking for gcc option to accept ISO C89... none needed checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking for ar... /opt/rh/devtoolset-7/root/usr/bin/ar checking whether byte ordering is bigendian... no checking whether gcc produces 32bit code... no checking whether gcc supports __thread specifier (TLS)... yes checking whether gcc supports -ffat-lto-objects... yes checking whether gcc supports -flto -fuse-linker-plugin... yes checking whether gcc supports -Wno-unused-parameter... yes checking whether gcc can actually use -Wno-unused-parameter... not needed but enabled checking whether gcc supports -Wempty-body... yes checking whether gcc supports -Wno-switch... yes checking whether gcc supports -Wno-missing-field-initializers... yes checking whether compiler is clang... no checking whether gcc supports -Wno-maybe-uninitialized... yes checking whether gcc supports -Wno-clobbered... yes checking whether gcc supports -Wshadow... yes checking whether gcc can efficiently use -Wshadow... yes checking whether gcc supports -fPIC... yes checking how to make shared objects... not supported configure: compiler is unable to generate shared objects, disabled plugins (optional) checking whether gcc supports -fno-strict-aliasing... yes checking for setrlimit... yes checking for strnlen... yes checking for uselocale... yes checking for newlocale... yes checking for freelocale... yes checking for xlocale.h... yes checking for library containing inflateEnd... -lz checking for zlib.h... yes checking for library containing sqrt... none required checking for library containing clock_gettime... -lrt checking whether CLOCK_MONOTONIC is supported and works... yes checking for library containing pthread_create... -lpthread checking for library containing pthread_sigmask... none required checking for library containing pthread_attr_init... none required checking for library containing pthread_attr_setstacksize... none required checking for library containing pthread_attr_destroy... none required checking for library containing pthread_cancel... none required checking for library containing pthread_join... none required checking for mysql_config... /usr/bin/mysql_config checking for mysql_init in -lmysqlclient... no checking mysql.h usability... no checking mysql.h presence... no checking for mysql.h... no checking MySQL library (required)... no configure: error: MySQL not found or incompatible [rathena4444@woero emulador]$ make clean make[1]: Entering directory `/home/rathena4444/emulador/src/common' CLEAN common make[1]: Leaving directory `/home/rathena4444/emulador/src/common' make[1]: Entering directory `/home/rathena4444/emulador/3rdparty/mt19937ar' CLEAN mt19937ar make[1]: Leaving directory `/home/rathena4444/emulador/3rdparty/mt19937ar' make[1]: Entering directory `/home/rathena4444/emulador/3rdparty/libconfig' CLEAN libconfig make[1]: Leaving directory `/home/rathena4444/emulador/3rdparty/libconfig' make[1]: Entering directory `/home/rathena4444/emulador/3rdparty/yaml-cpp' CLEAN yaml-cpp make[1]: Leaving directory `/home/rathena4444/emulador/3rdparty/yaml-cpp' make[1]: Entering directory `/home/rathena4444/emulador/src/login' CLEAN login make[1]: Leaving directory `/home/rathena4444/emulador/src/login' make[1]: Entering directory `/home/rathena4444/emulador/src/char' CLEAN char make[1]: Leaving directory `/home/rathena4444/emulador/src/char' make[1]: Entering directory `/home/rathena4444/emulador/src/map' CLEAN map make[1]: Leaving directory `/home/rathena4444/emulador/src/map' make[1]: Entering directory `/home/rathena4444/emulador/src/tool' CLEAN tool make[1]: Leaving directory `/home/rathena4444/emulador/src/tool' [rathena4444@woero emulador]$ make server make[1]: Entering directory `/home/rathena4444/emulador/3rdparty/mt19937ar' CC mt19937ar.c cc1: error: CPU you selected does not support x86-64 instruction set make[1]: *** [mt19937ar.o] Error 1 make[1]: Leaving directory `/home/rathena4444/emulador/3rdparty/mt19937ar' make: *** [mt19937ar] Error 2 @Edit My VPS is not installing mariadb, mariadb-devel and mariadb-server [root@woero ~]# sudo yum install mariadb mariadb-devel mariadb-server git Loaded plugins: fastestmirror Setting up Install Process Loading mirror speeds from cached hostfile * base: ewr.edge.kernel.org * extras: ewr.edge.kernel.org * updates: ewr.edge.kernel.org No package mariadb available. No package mariadb-devel available. No package mariadb-server available. Resolving Dependencies --> Running transaction check ---> Package git.x86_64 0:1.7.1-9.el6_9 will be installed --> Processing Dependency: perl-Git = 1.7.1-9.el6_9 for package: git-1.7.1-9.el6_9.x86_64 --> Processing Dependency: perl(Git) for package: git-1.7.1-9.el6_9.x86_64 --> Processing Dependency: perl(Error) for package: git-1.7.1-9.el6_9.x86_64 --> Running transaction check ---> Package perl-Error.noarch 1:0.17015-4.el6 will be installed ---> Package perl-Git.noarch 0:1.7.1-9.el6_9 will be installed --> Finished Dependency Resolution Dependencies Resolved ================================================================================ Package Arch Version Repository Size ================================================================================ Installing: git x86_64 1.7.1-9.el6_9 base 4.6 M Installing for dependencies: perl-Error noarch 1:0.17015-4.el6 base 29 k perl-Git noarch 1.7.1-9.el6_9 base 29 k Transaction Summary ================================================================================ Install 3 Package(s) Total download size: 4.7 M Installed size: 15 M Is this ok [y/N]: y Downloading Packages: (1/3): git-1.7.1-9.el6_9.x86_64.rpm | 4.6 MB 00:00 (2/3): perl-Error-0.17015-4.el6.noarch.rpm | 29 kB 00:00 (3/3): perl-Git-1.7.1-9.el6_9.noarch.rpm | 29 kB 00:00 -------------------------------------------------------------------------------- Total 31 MB/s | 4.7 MB 00:00 Running rpm_check_debug Running Transaction Test Transaction Test Succeeded Running Transaction Installing : 1:perl-Error-0.17015-4.el6.noarch 1/3 Installing : git-1.7.1-9.el6_9.x86_64 2/3 Installing : perl-Git-1.7.1-9.el6_9.noarch 3/3 Verifying : 1:perl-Error-0.17015-4.el6.noarch 1/3 Verifying : git-1.7.1-9.el6_9.x86_64 2/3 Verifying : perl-Git-1.7.1-9.el6_9.noarch 3/3 Installed: git.x86_64 0:1.7.1-9.el6_9 Dependency Installed: perl-Error.noarch 1:0.17015-4.el6 perl-Git.noarch 0:1.7.1-9.el6_9 Complete!
  7. Hello, I followed the rathena wiki to install the emulator on CentOS 6, but it did not work. Could someone explain to me how I can prepare VPS to install rAthena? I would also like to configure it to access via FTP and also access the database through phpmyadmin
  8. Hello, I added the @afk command following the guidelines of this topic When I type @afk, a loading bar appears as if it were a skill, but it takes too long to load. I would like to know how to do it to be instant, type @afk and be kicked from the server like @at atcommand.cpp /*========================================== * @afk *------------------------------------------*/ ACMD_FUNC(afk) { nullpo_retr(-1, sd); if(sd->bl.m == map_mapname2mapid("prontera")) { clif_displaymessage(fd, "@afk is not allowed on this map."); return 0; } if( pc_isdead(sd) ) { clif_displaymessage(fd, "Cannot @afk if you are dead."); return -1; } if( map[sd->bl.m].flag.autotrade == battle_config.autotrade_mapflag ) { if(map[sd->bl.m].flag.pvp || map[sd->bl.m].flag.gvg){ clif_displaymessage(fd, "You may not use the @afk maps PVP or GVG."); return -1;} sd->state.autotrade = 1; sd->state.monster_ignore = 1; pc_setsit(sd); skill_sit(sd,1); clif_sitting(&sd->bl); clif_changelook(&sd->bl,LOOK_HEAD_TOP,471); clif_specialeffect(&sd->bl, 234,AREA); if( battle_config.afk_timeout ) { int timeout = atoi(message); status_change_start(NULL, &sd->bl, SC_AUTOTRADE, 10000,0,0,0,0, ((timeout > 0) ? min(timeout,battle_config.afk_timeout) : battle_config.afk_timeout)*60000,0); } clif_authfail_fd(fd, 15); } else clif_displaymessage(fd, "@afk is not allowed on this map."); return 0; } battle.cpp { "afk_timeout", &battle_config.afk_timeout, 0, 0, INT_MAX, }, battle.hpp int afk_timeout;
  9. guhx

    Refiner

    Thank you very much, it worked perfectly
  10. guhx

    Refiner

    prontera,148,189,6 script Insta-Refiner 907,{ setarray .@slots[0],1,2,3,4,5,6,7,8,9,10; for( set .@a,0; .@a < getarraysize(.@slots); set .@a,.@a + 1 ) { if( getequipisequiped(.@slots[.@a]) ) { if( .@slots[.@a] == 3 || .@slots[.@a] == 4) { switch( getequipweaponlv(.@slots[.@a]) ) { case 0: set .@r, 4; break; default: set .@r, 8 - getequipweaponlv(.@slots[.@a]); break; } } else { set .@r, 4; } set .@refinefix,.@r-getequiprefinerycnt(.@slots[.@a]); if(getequiprefinerycnt(.@slots[.@a]) < .@r && getequipisenableref(.@slots[.@a]) ) { for( set .@i,0; .@i < .@refinefix; set .@i,.@i + 1) successrefitem .@slots[.@a]; } } sleep2 100; } } I'm with an NPC refiner. It refines up to the maximum level of security with just 1 click. The only problem I have with him is that he does not differentiate weapon levels. For example, he refines a knife to +4, instead of refining to +7. Can someone help me?
  11. Hi, I use gepard on my server, and I wanted to block the same person from accessing the same map with two accounts. I tried to change the last_ip to last_unique_id, but it blocks all people from accessing the map if there is already a person in it. - script dualclientkicker -1,{ OnPCLoadMapEvent: set .@charmap$, strcharinfo(3); query_sql("SELECT FIND_IN_SET('"+.@charmap$+"', '"+.maps$+"');",.@q); if(.@charmap$!=.tmp$[(.@q-1)]) end; set .@len, query_sql("SELECT DISTINCT `account_id` FROM `char` WHERE `account_id` IN (SELECT `account_id` FROM `login` WHERE `last_ip` = (SELECT `last_ip` FROM `login` WHERE `account_id`="+getcharid(3)+")) AND `online` <> 0;",.@a); if(.@len-1) { for(set(.@d,0);.@d<.@len;set(.@d,.@d+1)) { getmapxy(.@map$,.@x,.@y,0,rid2name(.@a[.@d])); if(.tmp$[(.@q-1)]==.@map$&&rid2name(.@a[.@d])!=strcharinfo(0)) { dispbottom "Duel accounts not allowed in WOE."; atcommand "@kick "+strcharinfo(0); } } } end; OnInit: set .maps$ , "aldeg_cas01,gefg_cas01,payg_cas01,prtg_cas01"; explode( .tmp$ , .maps$, ",") ; set .lens , getarraysize(.tmp$) ; for(set .a,0;.a<.lens;set .a,.a+1) setmapflag .tmp$[.a], mf_loadevent ; }
  12. guhx

    Disconect

    Several players on my server are having this error, and I do not know what this might be causing IP capacity of this Internet Cafe is full. Would you like to pay the personal base?
  13.  

    I sent you a private message to buy the gepard, please check.

    1. Functor

      Functor

      Hello! I don't see PM from you. You should try to send message again.

×
×
  • Create New...