-
Posts
36 -
Joined
-
Last visited
-
Feedback
0%
DaCookie -Raven's Achievements
-
Well I used my IDEs option to convert all server source files to UTF-8. That's why I ran into problems with locale_string.txt Because I`m lazy and don't want to copy the korean strings one by one I wrote this tool. Also it is a nice thing to work with a standard encoding
-
Thanks for the tool. I ran into some errors using the locale_string.txt, because mine can not properly be converted into UTF-8. This is because the korean texts are encoded in cp949 and my local translation has some special characters in ISO-8859-1. Therefore I wrote a small tool converting the korean texts encoded as CP949 into UTF-8 and some european character set ISO-8859-1 into UTF-8. Maybe it is useful for you and you can adjust the character sets for your needs. NOTE: You need iconv by GNU to link this application iconvpp.h main.cpp
- 4 replies
-
- 25
-
pollux started following DaCookie -Raven
-
After successfully compiling the source I experienced some bugs... Here is what I changed, may it is useful for you too: db: ClientManagerBoot.cpp:747 "sqlMsg" was not directly allocated -> undefined behaviour game: config.cpp:675 "g_stAdminPageNoLChost" is always false config.cpp:676 also "strtok_r()" in "FN_add_adminpageIP()" can't handle this, probably because it is trying to modify the "127.0.0.1" string ani.cpp:138 comma missing
-
? sorry please write in english i dont want to use always google translator to translate everytime and google translator shows always only crap xD
-
- invisible bugfix in source is public here - stunbug is also fixxed here - editing the exp table is not that difficult to add some new lines or just modify them^^ - kickhack is fixxed in 40k i think because i saw some funtion called sync pos hack - /level command: doing strg + f "do_level" have fun^^
-
[ Dead Download Link ] [C++]No txt on 40k [ We Need You ]
DaCookie -Raven replied to Timasu's topic in Temporary
I made a short tut^^: At first i want to say: this is not compatible with a table_postfix or item_vnum ranges. [1] open "ClientManagerBoot.cpp" and make these both if-terms to comments or delete them (in my tree at line 22 - 26 and 34 - 38) [2] edit the function "CClientManager::InitializeMobTable()" like this: [3] edit the function "CClientManager::InitializeItemTable()" like this: [4] make both functions "bool CClientManager::MirrorMobTableIntoDB()" and "bool CClientManager::MirrorItemTableIntoDB()" to comments or delete them [5] open "ClientManager.h" and delete or make these functions to comments: Thanks to iMer because i use some lines of his code and he had to stand over my skype spam^^ NOTE: If you have different table structures or more columns you want to use, you have to change the functions -
64bit VirtualBox FreeBSD Updaten ?
DaCookie -Raven replied to .Invincible's topic in Community Support - Questions & Answers
Die SuFu hat was ausgespuckt^^ schau mal hier: [Hidden Content] //ENG found sth watch this: [Hidden Content] -
[ Dead Download Link ] [C++]No txt on 40k [ We Need You ]
DaCookie -Raven replied to Timasu's topic in Temporary
I made a function for mob_proto and i cant find a bug: The same i tried with the item_proto but 3 columns are always 0 .... take a look if you find an error please tell me^^ -
oh sorry... thanks i dont know how i have come to "**"... i meaned "^" i edited my post^^
-
Nice idea But your function: function math_sqrt_distance(x, y) if math.sqrt(math_sqr(pc.get_local_x() - x + math_sqr(pc.get_local_y() - y))) < 40 then return true end return false end I would write like this: function math_sqrt_distance(x, y) if math.sqrt((pc.get_local_x() - x)^2 + (pc.get_local_y() - y)^2) < 40 then return true end return false end Because this is the general way of getting a distance between two points and you need the "**2" because without it can come to a negative squirt and this wont work
-
[SYSLOG] 40k problem
DaCookie -Raven replied to F'Corono''s topic in Community Support - Questions & Answers
Do you have the right db core? i mean is this db core also for the new table structures in 40k? please post the syserr of your db_cache