-
Posts
839 -
Joined
-
Last visited
-
Days Won
5 -
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Everything posted by Night
-
actually i had that problem i re-downloaded skype from the website and it got fixed.(this was around a week ago) the thing now is that i can not login to my account. no matter what i try.
-
just : pkg install gcc
-
Is it possible to up 34k files to 40K?
Night replied to ShyperiaN's topic in Community Support - Questions & Answers
Buying a 40k is not a great idea I suppose theres so many things should be get fixed. Who to trust? possible <- sure without any problem <- there is no guarantee but most of the time there wont be any problem. and if you are going to buy it then you should ask the on that is selling it to do it for you. Buying a 40k is not a great idea I suppose theres so many things should be get fixed. Who to trust? i said what i said bcz of this : if it is a live server then i do not recommend do in it directly.most of the problem is with the protos , since most ppl still use the protos from db this could cz real problems. any way , updating is not a problem . btw, if you do not plane on using your own src then do not upgrade. (there is no point in using 40k files without src anyway) -
Is it possible to up 34k files to 40K?
Night replied to ShyperiaN's topic in Community Support - Questions & Answers
possible <- sure without any problem <- there is no guarantee but most of the time there wont be any problem. and if you are going to buy it then you should ask the on that is selling it to do it for you. -
Syserr [C1C1] 4700 Lines
Night replied to Deepfall's topic in Community Support - Questions & Answers
maybe bcz the channel core is down? and about the 4700 syserr like it is most likely that you do not have a data folder. or if you have make a symlink to it. you do have some invalide package keys , and some none existing mobs in your regen files. try to post the auth and db syserr as well. -
there is 2 ways to do it (as @metin2team said) : comment this : if (m_dwLevel) { UpdateTextTailLevel(m_dwLevel); } like this : //if (m_dwLevel) //{ //UpdateTextTailLevel(m_dwLevel); //} or just do this : sprintf(szText, "Lv %d", level); to this : sprintf(szText, "", level); (empty string should not be a problem) you can always delete the (, level)
-
He doesn't answer me lately he answer once per 3 days . (mostly afk). ah , he might ingore you if he see what you are asking for is kind of too much or too stupid. Asking? I want to buy his stuff lol same , you are asking him if he want to sell, he is not a store he might sell as well as he might not.
-
btw there is another comment about the coding : int attr1; int value1; int attr2; int value2; int attr3; int value3; int attr4; int value4; int attr5; int value5; int attr6; int value6; int attr7; int value7; int socket1; int socket2; int socket3; basicly this is a bit too much, dont you think so? int attr1, value1, attr2, value2, attr3, value3, attr4, value4, attr5, value5, attr6, value6, attr7, value7, socket1, socket2, socket3; this looks a bit better. and this is ugly as well : if (lua_isnumber(L, 3) && lua_isnumber(L, 4) && lua_isnumber(L, 5) && lua_isnumber(L, 6) && lua_isnumber(L, 7) && lua_isnumber(L, 8) && lua_isnumber(L, 9) && lua_isnumber(L, 10) && lua_isnumber(L, 11) && lua_isnumber(L, 12) && lua_isnumber(L, 13) && lua_isnumber(L, 14) && lua_isnumber(L, 15) && lua_isnumber(L, 16) && lua_isnumber(L, 17) && lua_isnumber(L, 18) && lua_isnumber(L, 19)) you could just do it like this : thx to @martysama0134 for the size_t idea and the multi lua_isnumber check. bool isValid = true; for (size_t i = 3; i < 20; i++) { if (!lua_isnumber(L, i)) { isValid = false; break; } } if (!isValid) { lua_pushboolean(L, false); return 1; } else { attr1 = (int)lua_tonumber(L, 3); value1 = (int)lua_tonumber(L, 4); attr2 = (int)lua_tonumber(L, 5); value2 = (int)lua_tonumber(L, 6); attr3 = (int)lua_tonumber(L, 7); value3 = (int)lua_tonumber(L, 8); attr4 = (int)lua_tonumber(L, 9); value4 = (int)lua_tonumber(L, 10); attr5 = (int)lua_tonumber(L, 11); value5 = (int)lua_tonumber(L, 12); attr6 = (int)lua_tonumber(L, 13); value6 = (int)lua_tonumber(L, 14); attr7 = (int)lua_tonumber(L, 15); value7 = (int)lua_tonumber(L, 16); socket1 = (int)lua_tonumber(L, 17); socket2 = (int)lua_tonumber(L, 18); socket3 = (int)lua_tonumber(L, 19); item->SetForceAttribute(0, attr1, value1); item->SetForceAttribute(1, attr2, value2); item->SetForceAttribute(2, attr3, value3); item->SetForceAttribute(3, attr4, value4); item->SetForceAttribute(4, attr5, value5); item->SetForceAttribute(5, attr6, value6); item->SetForceAttribute(6, attr7, value7); item->SetSocket(0, socket1); item->SetSocket(1, socket2); item->SetSocket(2, socket3); lua_pushboolean(L, true); return 1; } } if someone want to comment about the first "{" then yes it is not realy needed but some compilers might throw a warning about it + it is just in order to avoid any problem , please do not forget to close it , just add a "}" after this : lua_pushboolean(L, true); return 1; (there is [Hidden Content] in notpad++ use it to check if there is no problem (vs2013 should help you in a better way) , , sorry about the link , i just could not use bbcode like usual (damn ipb4.x)) and here you can use an enum (not that effictive it wont change anything) : attr1 = (int)lua_tonumber(L, 3); value1 = (int)lua_tonumber(L, 4); ... btw , the c-type cast here : (int)lua_tonumber(L, 3) is basicly always useless. except if you wanted to shut the compiler (it is bcz the convertion for a double to an int means that the program is going to trancate the double (lua_tonumber) (in other words the double is going to lose all the number after the "." for ex. 4.5 to int is 4 ...etc) good luck.
-
He doesn't answer me lately he answer once per 3 days . (mostly afk). ah , he might ingore you if he see what you are asking for is kind of too much or too stupid.
-
CInstanceBase::UpdateTextTailLevel is the function that shows the level (there), but do you want to delet that part.
-
buy the fix from marty i do not think that anyone is going to give it for free (the part alone is worth more then the wolfman)
-
How To Add 5 Bonuses without Blessing Marble
Night replied to .Avenue™'s topic in Programming & Scripts
now it is useless ahah -
How to run website in freebsd in home
Night replied to flygun's topic in Community Support - Questions & Answers
[Hidden Content] 7. Setting up web server for website and/or patcher this is what you want -
stuborn , he should just change the game file and client bin (root as well and add some files to locale). having the src will give him perfect controle over the server , disabling new systems is just kid play. and he can have all of the new systems. he can also use cython to protect his python work , have a faster client and so on so on.
-
add : forkedmapindex.txt in : locale/germany/ : #랜덤 성지 세팅 파일 #성지 추가 방법 #해더: 맵 신수국시작(xy) 천조국시작(xy) 진노국시작(xy) #sungzi: mapindex startposX startposY startposX startposY startposX startposY # 맵 신수국시작(xy) 맵 천조국시작(xy) 맵 진노국시작(xy) #pass: mapindex1 startposX startposY mapindex2 startposX startposY mapindex3 startposX startposY sungzi: 114 948100 36500 937100 22000 953200 18500 metin2_map_sungzi 1902 #pass: 115 1032200 125900 metin2_map_sungzi_flame_pass01 116 1032200 228300 metin2_map_sungzi_flame_pass02 117 1032200 330700 metin2_map_sungzi_flame_pass03 pass: 118 1150400 182400 metin2_map_sungzi_flame_hill_01 119 1150400 284800 metin2_map_sungzi_flame_hill_02 120 1150400 387200 metin2_map_sungzi_flame_hill_03 sungzi: 121 1188800 17500 1212400 19300 1195800 44900 metin2_map_sungzi_snow 1902 pass: 122 1200100 167900 metin2_map_sungzi_snow_pass01 123 1200100 270300 metin2_map_sungzi_snow_pass02 124 1200100 372700 metin2_map_sungzi_snow_pass03 sungzi: 125 1270000 56400 1249700 22200 1283700 20800 metin2_map_sungzi_desert_01 1902 pass: 126 1242400 142100 metin2_map_sungzi_desert_hill_01 127 1242400 244500 metin2_map_sungzi_desert_hill_02 128 1242400 346900 metin2_map_sungzi_desert_hill_03 this should get rid of the warning , but at least give us the syserr (server)
-
thx bro + .." " and fotball ahah
-
Since I'm not so proficient in c++ I have a question about the difference between the strlcpy and strncpy So we always need to terminate the strings with the null character (if no, it could lead to strange results). Then what is the problem with the strlcpy? As you said it automatically set the last character to null. Then why strncpy better? Maybe the packet from the client (in this case) is always terminated by the null character and this is why strncpy enough? And one more question, why is this problem if its not a standard? Maybe on different os it could lead to different operation? strncpy_s might be a better option as well if you are using windows. but still not protable as usuall same goes for strlcpy. strncpy should work more safely (compared to strcpy) by taking a third argument to indicate the maximum allowed size of the target array,however it is hated duo to some problems, strlcpy is just marginally then strncpy , most ppl would prefer using a c++ standard function rather then a BSD fix . btw the main diffirence is that strlcpy guarantee to NUL-terminate(as long as size is larger than 0). so if you are confident enough just use strncpy if not and as long as you are in BSD system then you are welcome to use strlcpy . (here is a small help) . for me i prefer strncpy maybe in the far future someone will fix it. or just get ride of it. >basicly i hate how ymir coders think ^^. (ask someone who is recoding some part to tell you about the books drop function) and one last thing there is that small problem with the syntax highlighting in most of the forums i recommend you to use the spoiler. btw , if you use strncpy and there is a problem then there might be a chance to see something funny (such things happen all the time).
-
i see , Good Job
-
dofile(get_locale_base_path().."/quest/igshop_settings.lua") dofile(get_locale_base_path().."/quest/igshop.lua") this looks better + portable one last thing : thx for the release , it is a great idea +1 .
-
How To Install an Metin2 Server on FreeBSD 9 64-bit
Night replied to Rumor's topic in Guides & HowTo
just install it from the port tree -
Shoulder sash source error
Night replied to skill178's topic in Community Support - Questions & Answers
what public release are you using? -
[BUG]Bonus 6/7 UNKNOWN_TYPE[83]5
Night replied to Ridleypr's topic in Community Support - Questions & Answers
tooltip missing in AFFECT_DICT add it. most likely : item.APPLY_DEF_GRADE btw some times they are unused you just enabled them