-
Posts
22 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Everything posted by MadTiago
-
SSH: Network error: Connection refused
MadTiago replied to Invictus's topic in Community Support - Questions & Answers
You're probably using a different port on sshd_config. To use a ssh tunnel to connect to mysql, you just need to create a local mysql user on your server and then configure navicat to use local user + ssh tunnel like this: [Hidden Content] [Hidden Content] If you changed ssh port, you need to reload/restart ssh daemon: service sshd restart- 1 reply
-
- 2
-
[Help] PayPal API + Implementation
MadTiago replied to Invictus's topic in Community Support - Questions & Answers
You don't need to setup IPN on paypal, the return url can be configured on the form. You just need the form and the listener (IPN). -
PHP - Player Information Lib
MadTiago replied to .InyaProduction's topic in Web Development & Scripts / Systems
You could improve your coding even more. Try using PDO/MySQLi instead of php's native mysql lib Use some sort of config options instead of harcoding databases/tables names If you declare every function as "public" even if they don't need to be public, it will make no sense to specify it's visibility Try using | as a separator instead of ::: When you write player's cache, you can use a foreach to iterate through player data, no need to write all those lines -
To attack you need to change your binary. On InstanceBase.cpp, add your mount vnum to the switch on: UINT CInstanceBase::SHORSE::GetLevel()And to allow damage with that mount, you need to edit your game's pvp.cpp, adding your mount vnum to the switch on: bool CPVPManager::CanAttack(LPCHARACTER pkChr, LPCHARACTER pkVictim)
-
You're running game file on share directory, when you're not supposed to. The share directory is used to "share" (hence the name) the files with game channels/cores using symbolic links. Think of it as a "common" directory. This method allows you to replace the game/db file on a single directory (in this case it's share) affecting every directory that has a symbolic link poiting to game/db files. When you run the game file, it tries to load the CONFIG file, but that doesn't exist on share dir since each channel/core has a unique CONFIG file (that's why you don't "share" it).
- 1 reply
-
- 1
-
M2 Download Center Download Here ( Internal ) With this modifications to the original make.sh you can comment your locale_list. Prerequisites bash How to use? bash make.sh Source code #!/usr/local/bin/bash LIST_FILE='locale_list' BIN="./qc" if [ -r $LIST_FILE ]; then rm -rdf object mkdir object while read line; do firstChar="${line:0:1}" if [ "$firstChar" != "#" ] && [ -n "$firstChar" ]; then quest=${line%#*} $BIN $quest fi done < $LIST_FILE else echo $LIST_FILE' is missing' fi Example locale_list # First quest quest1.quest quest2.quest # Second quest quest3.quest quest4.quest Hope you like it.
-
Files 34083 create user metin2
MadTiago replied to SøηGøku®'s topic in Community Support - Questions & Answers
You should read this as well: [Hidden Content] -
Use crontab -l to check if the cron has been added. And you can also check /var/log/cron. Is "/Backups/auto_back.sh" the full path?
-
Rename "vanilla_core_x_x" to "game" and "vanilla_dbcache" to "db".
-
Files 34083 create user metin2
MadTiago replied to SøηGøku®'s topic in Community Support - Questions & Answers
I know the scripts, I was just explaining why you shouldn't use root Btw, songoku, you should read this: [Hidden Content] -
Go to share/bin and replace the game and db files with vanilla's or any other revision you want.
-
Files 34083 create user metin2
MadTiago replied to SøηGøku®'s topic in Community Support - Questions & Answers
You don't need to create it, but it is recommended since root should only be used for server management and not to run services. -
That's the vi editor. Click "a" to append text then write the cron line. To save and quit press Esc, then type :wq and hit Return. The cronjob will be automatically installed upon exiting.
-
You should leave /etc/crontab alone. Use crontab -e instead (no need to specify the user).
-
Yes, it does.
-
Hey. I'm releasing my mysql backup script. Prerequisites mysqldump gzip ncftp ftp server properly set up How does the script works? Dumps and compresses the desired mysql databases Transfers compressed files to remote host Removes local compressed files How to use?This script takes only one argument (mode). Mode defines which databases should be dumped. Run it as: sh backupmysql.sh <mode>Check the source comments for available modes. Running automatically You can also define it to run automatically with a cronjob, and even run different modes on different times. To add a new cronjob, run: crontab -e Example cronjob (once a day): 0 0 * * * sh /usr/home/someuser/backupmysql.sh all Script source: