-
Posts
14 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Posts posted by designer132
-
-
and what is your problem?
-
you can fix this in quest or diff
easier way - create quest
-
i tried your makefile and i have the same error. I think, maybe i don't install some package... like -lsql.
close
enough to re-compile libsql
-
Hi,
i have problem with compiling DB. Everything is ok, but after creating output (linking) i have error:
/usr/bin/ld: cannot find -lsql gmake: *** [../db_r44444] Error 1
and after that compiling ends without output file.
Thanks for any help...
PS. Sorry for my bad english.
-
Hi,
i have problem with compiling DB. Everything is ok, but after creating output (linking) i have error:
/usr/bin/ld: cannot find -lsql gmake: *** [../db_r44444] Error 1
and after that compiling ends without output file.
Thanks for any help...
PS. Sorry for my bad english.
-
gratulations for this very long sentence, but it is really unreadable..
- 4
-
you forgot edit clientside scripts
-
Open input_auth.cpp and find those strings:
if (false == FN_IS_VALID_LOGIN_STRING(login)) { sys_log(0, "InputAuth::Login : IS_NOT_VALID_LOGIN_STRING(%s) desc %p", login, get_pointer(d)); LoginFailure(d, "NOID"); return; }
under that add this:
char query[1024]; snprintf(query, sizeof(query),"SELECT ip FROM player.ban_ip WHERE ip = '%s'", d->GetAddr().sin_addr); std::auto_ptr<SQLMsg> execquery(DBManager::instance().DirectQuery(query)); if (execquery->Get()->uiNumRows >= 1) { LoginFailure(d, "BAN_IP"); return; }
I didn't test it but it should work
You just need to create a table in player called ban_ip and add one field called ip with text type
Edit: Open intrologin.py and find this:
self.loginFailureMsgDict={
and add this:
"BAN_IP" : "You have an ip ban",
You have little mistake in the code, should be:
char query[1024]; snprintf(query, sizeof(query),"SELECT ip FROM player.ban_ip WHERE ip = '%s'", inet_ntoa(d->GetAddr().sin_addr)); std::auto_ptr<SQLMsg> execquery(DBManager::instance().DirectQuery(query)); if (execquery->Get()->uiNumRows >= 1) { LoginFailure(d, "BAN_IP"); return; }
PS. It's work
- 2
-
For example you write /i 28433 add it your weapon if the stone succeed equip the weapon and write /i 25100 then drag it in the equipped weapon when the stone is removed you'll have +25% to warriors without any stone and you can do it continuously
Like! Thanks for this. This is really work, i don't know about this bug, but now i removed it. You must block removing stones when eq are equipped, better in game then binary (someone can use other binary).
Do you know about other bugs in source?
Sorry for my bad english ;/
-
https://mega.co.nz/#!nYBnwJLL!FwzfQ3H4gCtIjCLCDuv_bGR-GJEUKw5VKvnctQLHbXk <- here you have a source code
-
great mob ;p Can you upload map too? It's really great. GJ.
-
can anyone know how i can compile the novaline binary?
Off topic.
I compile mainline_released binary without any problems, but it dont't work on my client. Now i work on novaline binary, but I can't compile it myself.
Sorry for my english.
-
create diff is no easy.. becouse there are no empty byte for write thisfunction or change type of string.
Sorry for my bad english.
Inventory Bug with 6 Pages when sell item
in Community Support - Questions & Answers
Posted
max number in "BYTE" type is 255...