ionutxp
-
Posts
61 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Posts posted by ionutxp
-
-
Yeah, be sure of that
-
-
Because, they've refactored some pieces of code and why not ?
-
The link is in the first post
-
Strage as I've already solved that bug. I've reuploaded the binary.
-
Hi,
For some time I started to work on the source for my own server. Currently I'm at cleaning / optimizing source stage.Until I get end result I need to thoroughly test any changes, to find all bugs, so I share the binary for who want to test and use in the future.The next step is moving all the constants from the source in configuration file to maximize the flexibility.Changelog (striped from git):
- - Removed texts files (item_names.txt, item_proto.txt ... ) Please use SQL.
- - Removed auth_brazil
- - Removed over9refine
- - Removed xtrap
- - Removed openid
- - Removed pcbang
- - Fixed number_ex (dice bug) and /war bug
- - Fixed invisibility bug
- - Removed non-GF locale stuff
- - Removed many warnings
- - Moved exp_table to file. For eg: /home/game/share/locale/romania/exp_table.txt
- - Increased exp and gold to long long.
- - Removed passpod
- - Removed timelimit
- - Fixed bonus changing bug
- - Locale unification - use your locale: ex romania and specify your charset. Default: latin2
- - Changed mp and hp type to int. (fixed hp/mp bug)
- - Changed the config to YAML format file
- - Fixed bonus/stone exploits
- - Reworked exp_table loader. Now in exp_table.txt you can overwrite default values.
- - Added guild_exp_table overwriter.
Download Zone:
http://ionutmilica.com/downloads/revs/
Latest builds:
http://ionutmilica.com/downloads/revs/game_r1.3.5.zip
http://ionutmilica.com/downloads/revs/db_r1.3.0.zipLauncher Test - compiled in debug mode (source from here):
http://ionutmilica.com/downloads/revs/launcher_1.2.0.zipExp table overwrite:
1: 100000 4: 95 8: 31239 105: 99000000 120: 43123113
How to fix:
Shared object "libboost_system.so.1.55.0" not found, required by "game"
cd /usr/ports/devel/boost-libs make install clean
I do not recommend this builds in production servers.
- 14
-
Amazing stuff
-
You've compiled from the source the QC ?
I will take a look today Thank you for the report !
-
-
Update: Fixed major bugs and translate function.
Now, you can override default tra function name in when-event translation.
define _TRA_ "translate"
and
when 20088.chat.translate."SD2.ENTER" begin
- 2
-
-
Hey,
Today I was working to extend the qc features. I managed to add:
- Lua defines
- When clause functions
Example:
define DOG ""Anne has apples."" define NAB "red" define TESTX 323 define PI 3.14 define EXPR "if x == 10 then say(22) end" define _TRA_ "translate" quest test begin state start begin function doStuff(x, y) say(DOG); end function doStuffAgain(www) say("Test") say(22) end when 20088.chat.translate."SD2.ENTER" begin say(DOG) doStuff(TESTX, 12) end when TESTX.chat."Testx" begin EXPR; say("Random text ! "); end end end
Now, you can translate your quest select fields with ease:quest test begin state start begin when 2222.chat.tra."ENTER.TITLE" begin say(DOG) end end end Make sure to have a: function tra(str_key) return global_table[get_language()][str_key]; end
when 2222.chat.x.y.z.tra.d."ENTER.TITLE" begin
will convert to: when x(y(z(tra(d("ENTER.TITLE)))))
I'll come back with the source code after some tests and, a new description and new examples.
Download:
http://ionutmilica.ro/downloads/revs/qc_last.rar
Source code:
- 10
- 1
- 1
- 1
- 17
-
You can search for obfuscators (ex: http://www.comp.eonworks.com/scripts/obfuscate_shell_script-20011012.htmlAnyway, shell languages aren't ment to be compiled or obfuscated as they are helpers for automating the tasks under OS. (unix in our case)Use a real programming language if you want to share your work.
-
mysql -u root -p -N -e "SHOW DATABASES";
Execute the above command and tell us if there are any errors.
-
What is Metin2Framework ?- It's an old project (metin2 homepage) made 2 years ago, when I started learning OOP.- Has all features from the official with the old design.- Is mature and stable- It's in Romanian for the momentTODO:- Rewrite the site using modern code practices.- Remove garbage mysql_* functions- Add full MVC support- Remove noobish code- Split the code in modules- Improve theme system- Implement a plugin system- Add multi-language supportThis homepage was tested on production env for my server and many other romanian servers, meaningthat all security bugs founded were fixed.Soon i'll post a live demo.How to install:1. Drop the files in a directory2. Edit the .htaccess Change "RewriteBase /" to "RewriteBase /metin2" if you put the files in a subdir or leave as it is if you don't.3. Edit application/config/config.php & application/config/database.php & application/config/email.php4. Change account table structure:
CREATE TABLE IF NOT EXISTS `account` ( `id` int(11) NOT NULL AUTO_INCREMENT, `login` varchar(30) NOT NULL DEFAULT '', `password` varchar(45) NOT NULL DEFAULT '', `social_id` varchar(7) NOT NULL DEFAULT '', `email` varchar(64) NOT NULL DEFAULT '', `create_time` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', `is_testor` tinyint(1) NOT NULL DEFAULT '0', `status` varchar(8) NOT NULL DEFAULT 'OK', `availDt` datetime NOT NULL DEFAULT '0000-00-00 00:00:00', `mileage` int(11) NOT NULL DEFAULT '0', `gold_expire` datetime NOT NULL DEFAULT '2012-01-01 00:00:00', `silver_expire` datetime NOT NULL DEFAULT '2012-01-01 00:00:00', `safebox_expire` datetime NOT NULL DEFAULT '2012-01-01 00:00:00', `autoloot_expire` datetime NOT NULL DEFAULT '2012-01-01 00:00:00', `fish_mind_expire` datetime NOT NULL DEFAULT '2012-01-01 00:00:00', `marriage_fast_expire` datetime NOT NULL DEFAULT '2012-01-01 00:00:00', `money_drop_rate_expire` datetime NOT NULL DEFAULT '2012-01-01 00:00:00', `coins` int(11) unsigned NOT NULL DEFAULT '0', `jd` int(11) unsigned NOT NULL DEFAULT '0', `register_token` varchar(64) NOT NULL, `register_expire` int(11) NOT NULL, `passlost_token` varchar(64) NOT NULL, `socialid_token` varchar(64) NOT NULL, `socialid_expire` int(11) unsigned NOT NULL DEFAULT '0', `new_email` varchar(64) NOT NULL, `email_token` varchar(64) NOT NULL, `email_expire` int(11) unsigned NOT NULL DEFAULT '0', `email_step` tinyint(2) unsigned NOT NULL DEFAULT '0', PRIMARY KEY (`id`), UNIQUE KEY `login` (`login`), KEY `social_id` (`social_id`) ) ENGINE=MyISAM DEFAULT CHARSET=big5;
Here is a github link if you want to post a issue or send a patch:Here is the latest stable build from the master branch:All this, meanwhile I work at metin2cms that will be written in php with Laravel as framework.- 1
-
You can always see the auth and core syserr. Most of the time the error is explained in a obvious way.
-
It's ok, it's only debug informations. Just make sure that you config your cores accordingly in a production server. You should worry if your syserr is big.
- 1
-
To bad that ovh vps are based on OpenVZ
-
Hi. I need an option about some very cheap servers ideas for metin2 source compilation, running the server for 1-3 players and a lamp stack for testing some sites.
I don't need one for production. Therefore , the need of firewall or other security stuff is NULL.
Thanks in advance.
-
Yea, but i already have a dedi for tests, and my pc goes crazy when I have a lot of processes
-
Nice work I will also download a fresh copy of windows server 2012 from dreamspark, just to check the serverfile stability
-
Ignoring the fact that mysql_* is deprecated.
When you make a fetch like in this example: SELECT * FROM player.player WHERE id = 'someID'; the mysqli or pdo methods will return an array.
How you could optimize the script (by number of lines)
<?php class Player { private $data; public function __construct($playerId) { /** * if playerId is integer fetch player data by `id` field else * by `name` field */ } private function fetchById($id) { $this->data = .....; } private function fetchByName($name) { $this->data = .....; } public function __get($name) { if (isset($this->data[$name])) { return $this->data[$name]; } return false; } public function __set($name, $value) { if (isset($this->data[$name])) { $this->data[$name] = $value; // mark field to be updated } } public function __destruct() { // update the player table query } } $p = new Player(10); // $p = new Player('Tdog'); echo $p->name; echo $p->job; $p->name = 'JBond'; // will update the field in the database
As for the cache, you could use JSON because is easy to use and portable. (You can load info about char with javascript, C# ... )
Anyway thanks for the share
[ Dead Download Link ] [RELEASE] QC (quest compiler) extensions [ We Need You ]
in Temporary
Posted