-
Posts
85 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Posts posted by .Rise
-
-
On 26. 1. 2018 at 2:50 PM, cubex33 said:
Go to Binary Source and in PythonShop.cpp find function:
PyObject * shopGetItemPrice(PyObject * poSelf, PyObject * poArgs)
There replace this:
return Py_BuildValue("i", c_pItemData->price);
to:
return Py_BuildValue("L", c_pItemData->price);
and replace this:
return Py_BuildValue("i", 0);
to:
return Py_BuildValue("L", 0);
And you are done.
-
Dont use crappy files.
- 1
-
Hello,
I have searched empire war system for 2 days but I have not found it.
Could you send me valid link to working empire war system?
Thanks. -
On 23. 1. 2018 at 12:27 AM, TysonDMG said:
i have the same bug.. cand you give me the fix please?
Look at char.cpp
There are Horse vnums.
-
-
6 hours ago, Galet said:
Hello,
I may probably sound offtopic but overall I don't think locking player's ip is a good idea... In fact, if someone is using a dynamic ip, a mobile phone connection or if he is living in two different places or just if he moves he won't be able to connect anymore and it will probably be a source of issue more than a protection.
I think you should give the option to enable or disable the check on the fly so that every player will be able to add this security willingly.
Hi, yes. I made it to check if player is in table IP_login, it will check the player.
-
Hello,
I tried to add feature like "IP Login". It locks your IP and you can not login using different IP adress.
I tried to write this code:
char ip; char query[1024]; snprintf(query, sizeof(query),"SELECT ip FROM account.ip_login WHERE ip = '%s' AND login = '%s'", inet_ntoa(d->GetAddr().sin_addr), login); std::auto_ptr<SQLMsg> execquery(DBManager::instance().DirectQuery(query)); MYSQL_ROW row = mysql_fetch_row(execquery->Get()->pSQLResult); str_to_number(ip, row[0]); if (ip != '0' && execquery->Get()->uiNumRows < 1) { LoginFailure(d, "IP_MATCH"); return; }
But when I run it and try to login, core gets dumped.
I have tried a lot of variations of this code.
One time I could not login when there were not IP adress in table. (It was recognising IP address, but when I cleared table, I could not login due bad IP)Any solution, please? (I pay 10€ - after solution)
Thanks. -
-
Hello,
I have got problem while compiling.
Quotechar_horse.cpp: In member function 'virtual DWORD CHARACTER::GetMyHorseVnum()':
char_horse.cpp:261: error: expected primary-expression before 'int'
char_horse.cpp:261: error: expected `)' before 'int'
char_horse.cpp:262: error: expected `)' before ';' token
gmake: *** [Makefile:131: OBJDIR/char_horse.o] Error 1My Code:
DWORD CHARACTER::GetMyHorseVnum() { int delta = 0; if((DWORD horse_looks = GetHorseAppearance()) > 0) return horse_looks; if (GetGuild()) { ++delta; if (GetGuild()->GetMasterPID() == GetPlayerID()) ++delta; } return c_aHorseStat[GetHorseLevel()].iNPCRace + delta; }
Can somebody help me?
10 minutes ago, .Rise said:Hello,
I have got problem while compiling.
My Code:
DWORD CHARACTER::GetMyHorseVnum() { int delta = 0; if((DWORD horse_looks = GetHorseAppearance()) > 0) return horse_looks; if (GetGuild()) { ++delta; if (GetGuild()->GetMasterPID() == GetPlayerID()) ++delta; } return c_aHorseStat[GetHorseLevel()].iNPCRace + delta; }
Can somebody help me?
SOLVED by:
DWORD CHARACTER::GetMyHorseVnum() { int delta = 0; DWORD horse_looks; if((horse_looks = GetHorseAppearance()) > 0) return horse_looks; if (GetGuild()) { ++delta; if (GetGuild()->GetMasterPID() == GetPlayerID()) ++delta; } return c_aHorseStat[GetHorseLevel()].iNPCRace + delta; }
-
-
-
23 minutes ago, .T4Ump said:
U want advice? Stop use fking "FLIEGE" files and etc
Which files are best?
-
-
Hello,
Is there any way, to shutdown client after server shutdown?
That means when I do /shutdown, after countdown it closes clients (not log out, but close application)?
Thanks. -
It shows virus..
-
Hello,
I found bug on Fliege Files with green roses.Somewhere it shows their effect, somewhere not. (Look on screen)
Can you help me?
There is not any syserr.Thanks.
-
-
Hello, I have problem while I was installing Metin2 Grand CMS.
Everything works, but not Logn / Register.. After clicking on Login / Register, nothing happens and images get stucked.
Ex.: http://riseofthaia.com/ ( I didn't change anything)
Can you help me? Please? -
Just google it or there on forum, there are lots of SF etc..
-
If it will be good parameters, it is..
But for better efficiency is good to have more. -
2 minutes ago, SiwyLeo said:
I mean like everything to cater for like a lot of people, we are speculating for about 1,5-2,5k people
Ok, just buy one good server, or 2 and more server for split channels..
-
I didn't undersand your question..
Do you want to have some hosting, or? -
Do you want have it at home? Am I right?
-
Use kori-files.
- 1
Green rose doesn't show effect
in Community Support - Questions & Answers
Posted
#up