-
Posts
729 -
Joined
-
Last visited
-
Days Won
7 -
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Posts posted by flygun
-
-
#moved (releases>binaries.. to Metin2>Q&A)
-
#moved (Tech>Python to Metin2>Q&A)
-
(2.3) Close/Move/Rename request
To make a close/move or rename request please report the topic with the thing you want us to do. Rename request are only allowed by the thread owners
- 1
-
2 minutes ago, .PolluX said:
#moved (Metin2 > General to Releases > Tools)
I'm so sorry ..i opend this topic just to gather data about these tools ..i didn't know that it would become a real tool ..i'll complete this topic and share the tool in jun/july 2017 ...
Husam(FlyGun) <3
-
19 minutes ago, Kirosachi said:
Class Button have arguments to SetText for button, so this is:
self.btnHorse = self.GetChild("buttonHorse") self.btnHorse.SetEvent(self.RecvSummon) self.used = 0 def AppendTextLine(self, token): if token == 1: self.btnHorse.SetText("Summon") else: self.btnHorse.SetText("UnSummon") def RecvSummon(self): if self.used == 0: net.SendPacketHorseSummon() self.AppendTextLine(2) self.used = 1 elif self.used == 1: net.SendPacketHorseUnSummon() self.AppendTextLine(1) self.used = 0
i was studying programing but now i now how to write codes thanks anyway
- 1
-
unfortunately i stopped working on this project therefore i don't have the source ....
my project gonna be open source when i come back ... I'll be back in june/july-2017
-
Metin2 Enter The East guitar cover <3
[\spoiler]
-
if (CDBManager::instance().Connect(SQL_PLAYER, szAddr, iPort, "player", szUser, szPassword)) { sys_log(0, "Connected to SQL_PLAYER"); break; }
guild table must be in player ... the problem is that the SQL Manager puts a random database name
query failed: Table 'account.guild' doesn't exist query failed: Table 'common.guild' doesn't exist
see? and it not account or common it must be "player"
i've got a temp fix like this
if (CDBManager::instance().Connect(SQL_PLAYER, szAddr, iPort, "player", szUser, szPassword)) { sys_log(0, "Connected to SQL_PLAYER"); break; }
-
Hey guys one week ago and by accident all my work have been deleted ... i manged to recover 80% of them but unfortunately i couldn't recover my FreeBSD OS ... so I've created a new topic to get some advice on "what to do next" so I've decided to compile and run the game on windows which is better environment for debugging so I've managed to compile every thing all over again now i'm stuck with a very stupid error which is :
in db/conf.txt i got those lines
SQL_ACCOUNT = "localhost account user pass 0" SQL_PLAYER = "localhost player user pass 0" SQL_COMMON = "localhost common user pass 0" SQL_HOTBACKUP = "localhost hotbackup user pass 0"
in db/main.cpp
if (CConfig::instance().GetValue("SQL_PLAYER", line, 256)) { sscanf(line, " %s %s %s %s %d ", szAddr, szDB, szUser, szPassword, &iPort); sys_log(0, "Connecting to SQL_PLAYER"); int iRetry = 5; do { if (CDBManager::instance().Connect(SQL_PLAYER, szAddr, iPort, szDB, szUser, szPassword)) { sys_log(0, "Connected to SQL_PLAYER"); break; } sys_log(0, " failed, retrying in 5 seconds"); fprintf(stderr, " failed, retrying in 5 seconds"); sleep(5); } while (iRetry--); fprintf(stderr, "Success PLAYER\n"); SetPlayerDBName(szDB); } else { sys_err("SQL_PLAYER not configured"); return false; }
SYSERR: Jul 06 10:40:49 :: CAsyncSQL::ChildLoop: AsyncSQL: query failed: Table 'account.guild' doesn't exist (query: SELECT id,name,ladder_point FROM guild ORDER BY ladder_point DESC LIMIT 20 errno: 1146) SYSERR: Jul 06 11:07:01 :: CAsyncSQL::ChildLoop: AsyncSQL: query failed: Table 'account.player_index' doesn't exist (query: SELECT pid1, pid2, pid3, pid4, empire FROM player_index WHERE id=1 errno: 1146)
i can prevent this error by retyping the query but not in the way that it is suppose to be
#update .... really weird problem i got this now
AsyncSQL: query failed: Table 'common.guild' doesn't exist (query: SELECT id,name,ladder_point FROM guild ORDER BY ladder_point DESC LIMIT 20 errno: 1146)
so now i can see the there is problem with the SQL query manager like this
CDBManager::instance().ReturnQuery(szQuery, QID_GUILD_RANKING, 0, 0); // the last parameter determines which database to enter according to this enum
enum eSQL_SLOT
{
SQL_PLAYER,
SQL_ACCOUNT,
SQL_COMMON,
SQL_HOTBACKUP,
SQL_MAX_NUM,
};i see that all the code are clean and right ... but the query are entering a random database as i can see
sorry for my bad english
Flygun
-
root/uiGameButton.py
import player if player.GetLevel()==100: skillPlusButton.Hide() else: if self.__IsSkillStat(): skillPlusButton.Show() else: skillPlusButton.Hide()
- 1
-
I use 2013 ...as i said before i got some experince in coding
-
Mmmmm i think i'm gonna use windows and VS ..it's the best option at the moment ...thanks for the help <3
I'll clean the pc now and start building the serverfile
Thabks again<3
-
2 minutes ago, arves100 said:
Compiling on FreeBSD is the most secure thing. But if you haven't a VPS it's quitelly annoing for your RAM.
FreeBSD is ok every version, i hear about a bug on FreeBSD 10.x, but i never had nothing of them.
CLang is more faster than Gcc, but with CLang you need to do a lot of adjustments.
If you don't want to encour the bug of the skill,do not update Boost\Use C++11 or greater
If you don't have a VPS, WIndows is the best option.
For Windows every version should be fine (as long as it isn't windows 98 or older), do not use windows on a dedicated server because windows is for debugging only
About source you have to use mainline_released for server and novaline for client
Ohh hey ...Thanks for the fast reply .,,first let me say i've got a little experince about c++ and coding in general ,,(i can code)
Now i've been working on freebsd9.2 and its Very good to me ...but it's very annoying when i'm coding in more than 6~7 files with notpad ...so i've started to think about moveing into windows...i've compiled my data and every thing is good ..but i hate to use (xampp) ..also i need to build my own server files .,,about the source ..i got my own edited sources and they work togather very good with lycan so i need only the enviroment
Execuse my bad english
Flygun
-
Hey guys...I've deleted all my file exept my own sources...now what i need is what is the best option for me
First what is the best OS to run the server on (Win, Freebsd)..if freebsd .,,which version ...
Compiling : gcc or clang ,,i heard that clang is faster ..
Thanks in advance....and sorry for my bad english ,,
Flygun
-
About the wind ...i think "wind" isn't enable in the game ..
-
On Saturday, May 28, 2016 at 11:55 AM, Originale said:On Sunday, June 26, 2016 at 10:22 AM, masodikbela said:
I found a crash issue (not in your release, but it affects all eterPackMakers, so it maybe affects yours too). When a file's path longer than ~64, it crashes. The problem is that a buffer is too small for this length. In the eterPack\Inline.h u should change the char dir[64(maybe? I don't remember the original number)]; to (for example) char dir[256]; (If u already fixed this problem then just ignore this post)
Actually thans very much,.,i'm trying to improve this tool and change it's UI because it's a little bit ugly and i'm the only one know how to deal with it ..i want to make it more dynamic i'm thinking of those
1:extarct the pack in new folder called [packname] ex: root pack ...if you extract it you'll find all the files in the same folder where PackManager is .
2:Pack new packs dynamicly (a list with check boxes will show you what to pack and in how to pack it [type 1/2/3/4]
Ps: about the korean letters ..anyone can solve this problem by adding the korean unicode to the windows
And by the way ..about [path problem] i'll see it tomorow when i sit on my pc ..but it's the first time i know about this problem...
Now about the ProtoManager ..as i said before i got too far with it and i'm now trying to load all .txt files in client ..soon i'll see if i will add a functions to read tge mob tables and let you to creat [group.txt] file And also the item tables to write the drop item or something like that ...hmmmm there's a lot of ideas and a lot of work but little space of time and disk lol...,
Any way sorry for my bad english
FlyGun
-
edit
uiscript/systemdialog.py
-
1 hour ago, alin2894 said:
Not working
He means delete this (if statment )
-
sorry if I'm (uping my topic like idiot but i need some thoughts)
Sorry again
-
(RegisterNewPetFunctionTable) make sure you defined this function in quest.h and quest.cpp
-
3 hours ago, kodepiko said:
You must got makepack.exe to use this script ...use number (5) -->make pack...,o recommand you to make backup before doing anythin
- 1
-
No just select the folder befor the pack folder
-
4 hours ago, Originale said:
When I selected the pack folder the software bug
can you show me a pic or anything to know exactly what is the problemi think you mean that when you click extract bottom the app goes (Not responding) ... this is because the program is extracting the pack (it didn't finish extracting yet you have to wait a little bit ... i'm currently working on this problem ... also i'm started with the proto manager and i'm having some problems too on that
- 1
-
1 hour ago, TheGameDeveloper said:
- 4
- 1
- 1
- 2
Full HP after Login/Warp
in Community Support - Questions & Answers
Posted
Take a look at this ,,,please make sure that you search before starting a topic + make sure about the section when you start a topic
#moved (General to Q&A)