Jump to content

mrlongshen

Members
  • Content Count

    1126
  • Joined

  • Last visited

  • Days Won

    3

Everything posted by mrlongshen

  1. i try contact my webhost 1st. ask them to permit outgoing connection on that port 1st. ok.. the servers.php is configure well
  2. tcp 0 0 116.xxx.xxx.136:3306 0.0.0.0:* LISTEN 27408/mysqld mysql is running well
  3. setup. what setup do you means sir ? yes i buy a unmanaged vps. yes the mysql is running because. i can open my website there. but i dont want since i have the other webhosting. aw. shared sql ? do i really need this ?
  4. i know this. but my vps doesnt not accept the connection from webhosting !
  5. Hello all.. First thing I want to share is, I have a vps server with full root access. 2nd thing is, I have a webhosting. The problem is. I want to install my fluxcp on my website. what should i config, in fluxcp/config/server.php folder? when I try configure the below configuration error. Its seem mysql does not accept connection from webhosting. on my thinking, i create a subdomain on my webhosting. cpanel.xxxx.net then i upload the fluxcp file on the subdomain. then i setup like below. but i got an error. is that false i setup like below ? i put my vps ip on there ? <?phpreturn array( // Example server configuration. You may have more arrays like this one to // specify multiple server groups (however they should share the same login // server whilst they are allowed to have multiple char/map pairs). array( 'ServerName' => 'FluxRO', // Global database configuration (excludes logs database configuration). 'DbConfig' => array( //'Socket' => '/tmp/mysql.sock', //'Port' => 3306, //'Encoding' => 'utf8', // Connection encoding -- use whatever here your MySQL tables collation is. 'Convert' => 'utf8', // -- 'Convert' option only works when 'Encoding' option is specified and iconv (http://php.net/iconv) is available. // -- It specifies the encoding to convert your MySQL data to on the website (most likely needs to be utf8) 'Hostname' => '116.xxx.xxx.136', <--My VPS IP 'Username' => 'xxxxx', <--My sql username 'Password' => 'xxxxxxxxxxx', <--My sql passwd 'Database' => 'xxxxxxxx_rag', <--My sql database 'Persistent' => true, 'Timezone' => null // Example: '+0:00' is UTC. // The possible values of 'Timezone' is as documented from the MySQL website: // "The value can be given as a string indicating an offset from UTC, such as '+10:00' or '-6:00'." // "The value can be given as a named time zone, such as 'Europe/Helsinki', 'US/Eastern', or 'MET'." (see below continuation!) // **"Named time zones can be used only if the time zone information tables in the mysql database have been created and populated." ), // This is kept separate because many people choose to have their logs // database accessible under different credentials, and often on a // different server entirely to ensure the reliability of the log data. 'LogsDbConfig' => array( //'Socket' => '/tmp/mysql.sock', //'Port' => 3306, //'Encoding' => null, // Connection encoding -- use whatever here your MySQL tables collation is. 'Convert' => 'utf8', // -- 'Convert' option only works when 'Encoding' option is specified and iconv (http://php.net/iconv) is available. // -- It specifies the encoding to convert your MySQL data to on the website (most likely needs to be utf8) 'Hostname' => '127.0.0.1', 'Username' => 'ragnarok', 'Password' => 'ragnarok', 'Database' => 'ragnarok', 'Persistent' => true, 'Timezone' => null // Possible values is as described in the comment in DbConfig. ), // Login server configuration. 'LoginServer' => array( 'Address' => '127.0.0.1', 'Port' => 6900, 'UseMD5' => true, 'NoCase' => true, // rA account case-sensitivity; Default: Case-INsensitive (true). 'GroupID' => 0, // Default account group ID during registration. //'Database' => 'ragnarok' ), 'CharMapServers' => array( array( 'ServerName' => 'FluxRO', 'Renewal' => true, 'MaxCharSlots' => 9, 'DateTimezone' => null, // Specifies game server's timezone for this char/map pair. (See: http://php.net/timezones) //'ResetDenyMaps' => 'sec_pri', // Defaults to 'sec_pri'. This value can be an array of map names. //'Database' => 'ragnarok', // Defaults to DbConfig.Database 'ExpRates' => array( 'Base' => 100, // Rate at which (base) exp is given 'Job' => 100, // Rate at which job exp is given 'Mvp' => 100 // MVP bonus exp rate ), 'DropRates' => array( // The rate the common items (in the ETC tab, besides card) are dropped 'Common' => 100, 'CommonBoss' => 100, // The rate healing items (that restore HP or SP) are dropped 'Heal' => 100, 'HealBoss' => 100, // The rate usable items (in the item tab other then healing items) are dropped 'Useable' => 100, 'UseableBoss' => 100, // The rate at which equipment is dropped 'Equip' => 100, 'EquipBoss' => 100, // The rate at which cards are dropped 'Card' => 100, 'CardBoss' => 100, // The rate adjustment for the MVP items that the MVP gets directly in their inventory 'MvpItem' => 100 ), 'CharServer' => array( 'Address' => '127.0.0.1', 'Port' => 6121 ), 'MapServer' => array( 'Address' => '127.0.0.1', 'Port' => 5121 ), // -- WoE days and times -- // First parameter: Starding day 0=Sunday / 1=Monday / 2=Tuesday / 3=Wednesday / 4=Thursday / 5=Friday / 6=Saturday // Second parameter: Starting hour in 24-hr format. // Third paramter: Ending day (possible value is same as starting day). // Fourth (final) parameter: Ending hour in 24-hr format. // ** (Note, invalid times are ignored silently.) 'WoeDayTimes' => array( //array(0, '12:00', 0, '14:00'), // Example: Starts Sunday 12:00 PM and ends Sunday 2:00 PM //array(3, '14:00', 3, '15:00') // Example: Starts Wednesday 2:00 PM and ends Wednesday 3:00 PM ), // Modules and/or actions to disallow access to during WoE. 'WoeDisallow' => array( array('module' => 'character', 'action' => 'online'), // Disallow access to "Who's Online" page during WoE. array('module' => 'character', 'action' => 'mapstats') // Disallow access to "Map Statistics" page during WoE. ) ) ) ));?> when i want to install. i got this error. Exception Details Error: PDOException Message: SQLSTATE[HY000] [2003] Can't connect to MySQL server on '116.xxx.xxx.136' (4) <--This is my vps IP! File: /home/syokro8/public_html/cpanel/lib/Flux/Connection.php:81 how to fix this ? what should i do ? i dont want point my website cpanel.xxxxx.net to ip 111.xxx.xxx.xxx like that. i want when i open my cpanel.xxx.net its will a control panel. not point. please regard~ TENSION~~!! ****i hope someone will try to guide and help me. thx you.
  6. That sets the range of a random number from 1 to 100 to be rewarded in zeny. oic, sir how about the set all mobs in mob_db ? but i would like to have this function too to specific another zeny prize. can ? setarray .monster[0], 1001, 1002 , 1004, 1005;
  7. please someone, i have a same problem like this. centos 6.3 32 bit its seem map-server is having a segmentation fault! how to fix ?
  8. is this .min = 1; // Minimum .max = 100; // Maximum?? is that a percent or 1 to 100 z free ?
  9. can someone make a zeny from mobs, we can set the ratio or maybe some conf how much from a list mobs. because the official one, i see some player spam it ! please help~
  10. COMPILER_PATH=/usr/libexec/gcc/i686-redhat-linux/4.4.7/:/usr/libexec/gcc/i686-redhat-linux/4.4.7/:/usr/libexec/gcc/i686-redhat-linux/:/usr/lib/gcc/i686-redhat-linux/4.4.7/:/usr/lib/gcc/i686-redhat-linux/:/usr/libexec/gcc/i686-redhat-linux/4.4.7/:/usr/libexec/gcc/i686-redhat-linux/:/usr/lib/gcc/i686-redhat-linux/4.4.7/:/usr/lib/gcc/i686-redhat-linux/ LIBRARY_PATH=/usr/lib/gcc/i686-redhat-linux/4.4.7/:/usr/lib/gcc/i686-redhat-linux/4.4.7/:/usr/lib/gcc/i686-redhat-linux/4.4.7/../../../:/lib/:/usr/lib/ COLLECT_GCC_OPTIONS='-E' '-v' '-mtune=generic' '-march=i686'
  11. my compiling is success. im using centos 6.3 but my map-server not run automatically. i try run manual. its show segmentation fault. someone please help me. i try to add the afk.c and skillerrormessages plugin. please help me.. i have follow step on wiki. here is mine this is makefile COMMON_H = ../common/HPMi.h ../common/cbasetypes.hPLUGINS = sample db2sql afk SkillErrorMessagesCC = gccexport CC#####################################################################.PHONY : all $(PLUGINS) sample db2sql afk SkillErrorMessages clean helpall: $(PLUGINS)sample: sample.sodb2sql: db2sql.soafk: afk.soSkillErrorMessages: SkillErrorMessages.soclean: @echo " CLEAN plugins" @rm -rf *.ohelp: @echo "possible targets are $(PLUGINS:%='%') 'all' 'clean' 'help'" @echo "'sample' - sample plugin" @echo "'help' - outputs this message"#####################################################################%.so: %.c $(COMMON_H) @echo " CC $<" @$(CC) -DPACKAGE_NAME="" -DPACKAGE_TARNAME="" -DPACKAGE_VERSION="" -DPACKAGE_STRING="" -DPACKAGE_BUGREPORT="" -DPACKAGE_URL="" -DSTDC_HEADERS=1 -DHAVE_SYS_TYPES_H=1 -DHAVE_SYS_STAT_H=1 -DHAVE_STDLIB_H=1 -DHAVE_STRING_H=1 -DHAVE_MEMORY_H=1 -DHAVE_STRINGS_H=1 -DHAVE_INTTYPES_H=1 -DHAVE_STDINT_H=1 -DHAVE_UNISTD_H=1 -D__EXTENSIONS__=1 -D_ALL_SOURCE=1 -D_GNU_SOURCE=1 -D_POSIX_PTHREAD_SEMANTICS=1 -D_TANDEM_SOURCE=1 -DHAVE_USELOCALE=1 -DHAVE_NEWLOCALE=1 -DHAVE_FREELOCALE=1 -DHAVE_XLOCALE_H=1 -DHAVE_LIBZ=1 -DHAVE_LIBPTHREAD=1 -DHAVE_LIBPTHREAD=1 -DHAVE_LIBPTHREAD=1 -DHAVE_LIBPTHREAD=1 -DHAVE_LIBPTHREAD=1 -DHAVE_LIBPTHREAD=1 -DHAVE_LIBPTHREAD=1 -g -O2 -DMAXCONN=16384 -pipe -ffast-math -Wall -Wno-sign-compare -march=i686 -DHAS_TLS -Wno-unused-parameter -Wno-pointer-sign -Wno-switch -fno-strict-aliasing -DHAVE_SETRLIMIT -DHAVE_STRNLEN -Wno-unused -Wno-parentheses -DHAVE_MONOTONIC_CLOCK -I../common -I/usr/include -march=i686 -L/usr/lib -lpthread -shared -o ../../plugins/$@ $< this is makefile.in COMMON_H = ../common/HPMi.h ../common/cbasetypes.hPLUGINS = sample db2sql afk SkillErrorMessages@SET_MAKE@CC = @CC@export CC#####################################################################.PHONY : all $(PLUGINS) sample db2sql afk SkillErrorMessages clean helpall: $(PLUGINS)sample: sample@DLLEXT@db2sql: db2sql@DLLEXT@afk: afk@DLLEXT@SkillErrorMessages: SkillErrorMessages@DLLEXT@clean: @echo " CLEAN plugins" @rm -rf *.ohelp: @echo "possible targets are $(PLUGINS:%='%') 'all' 'clean' 'help'" @echo "'sample' - sample plugin" @echo "'help' - outputs this message"#####################################################################%@DLLEXT@: %.c $(COMMON_H) @echo " CC $<" @$(CC) @DEFS@ @CFLAGS@ @CPPFLAGS@ @LDFLAGS@ @SOFLAGS@ -o ../../plugins/$@ $<
  12. svn: Server sent unexpected return value (502 Bad Gateway) in response to OPTIONS request for 'https://svn.github.com/HerculesWS/Hercules.git hello all, i cant download on my vps. please help me..
  13. i love the animated hercules. thanks anakid
  14. yeah can we use shin diff patcher on 2013 client ? i dont know, im use xDiffPatcher.exe yeah me too, since xdiff dont have custom font. hmmm
  15. yeah can we use shin diff patcher on 2013 client ?
  16. @http://herc.ws/board/user/105-akbare/ when i diff, i ticked the use custom aura, that the problem. now i have untick my client working perfectly
  17. im using now 20130522 hehe~ why sir ? there are aura problem on the client. simplified aura can. but the 99 aura crash. hoho owh..nothing sir im use 2013-03-20 no problem with aura level 99 haha. based on @neomind said. maybe the aura got problem. wait him to fix it
×
×
  • Create New...

Important Information

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