-
Posts
1547 -
Joined
-
Last visited
-
Days Won
33 -
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Posts posted by WeedHex
-
-
28 minutes ago, iambmys9 said:
Hello, I have two Dragon God Attacks on my server. One drops from metin stones and is limited, single use. The other one can be obtained by craft from the blacksmith.
The problem is that these two items can be used at the same time and their buffs can be stacked. How can I prevent this, one of the two can only be used once. Note: I don't have the source code of my files.
It's because you're using a stupid extended system from some "dev" I think.
-
23 minutes ago, Nuzzo said:
Wouldn't that slow down the loading?
I don't think so, if you don't abuse of it. If I remember well the effects are loaded in another step, after the entergame.
-
2 minutes ago, Nuzzo said:
This doesn't work if I have to check the effect as soon as I enter the game, how can I solve it?
Check it in delay with a timer.
-
DirectQuery
-
Which library are you talking about, the one needed from game file?
-
38 minutes ago, 7teendev said:
Does anyone know, what should the next steps be?
Using Visual Studio features.
-
elif item.ITEM_TYPE_SHINING == itemType:
Probably here
-
Are you sure about what you're doing??
Btw try to post your uitooltip.py
-
Try to use
int pc_set_level(lua_State * L)
-
How do you generate the fake characters? I doubt you connected 180 clients
You should be sure that your "clones" are same of real players in level of heaviness.
Very curious about it, keep it up
-
2 minutes ago, Tomio said:
Hello i still can't resolve my problem with mysql. I rented VPS and after installation mysql i can't start mysql. I resolve many problems and errors but now i need help in err file i have this
2024-02-27T18:56:07.6NZ mysqld_safe Logging to '/var/db/mysql/vps2357.err'.
2024-02-27T18:56:07.6NZ mysqld_safe Starting mysqld daemon with databases from /var/db/mysql
ld-elf.so.1: Shared object "libprotobuf-lite.so.3.19.4" not found, required by "mysqld"
2024-02-27T18:56:07.6NZ mysqld_safe mysqld from pid file /var/db/mysql/vps2357.pid endedPlease how to install and where LIBPROTOBUF-lite ? Thaaaank you ! (I use [40250] Reference Serverfile + Client + Src by TMP4 )
Talk to the AI, better than waiting here.
- 1
-
54 minutes ago, Rakancito said:
I like to avoid tragedies even if I have avoided them before. If you don't like C++ code, use Lua, but... since when is a high-level language better than a low-level?
I'm not using the server, I don't have problems.
Checking the pointer from the beginning, but controlling it again before destroy and then using again. The guy meant this with the arrows.
I agree about the use of LUA for dungeons. It's much faster and already prepared for use, without risk of memory, at the end it's linking c++, you got less lines and more order/safety.
Obv it's good for pratice c++ doing as you did.
Thanks for the share, will be very useful for my Yohara
-
I heard many people receiving handshake from Belize location >_<
However I don't think your core crash is related to that syserr.
Analyze with #dbg your core crash first of all.
About handshake you can decide to blacklist the intrusive ip.
Activate a firewall leaving public only the needed ports, and put some limit or check.
-
It was blocking also Set Value to 0.
if (value == NULL) return 0;
My version:
int item_set_socket(lua_State* L) { LPITEM item = CQuestManager::instance().GetCurrentItem(); if (!item) return 0; if (lua_isnumber(L, 1) && lua_isnumber(L, 2)) { const auto idx = static_cast<int>(lua_tonumber(L, 1)); if (idx < 0 || idx >= ITEM_SOCKET_MAX_NUM) return 0; // Value can be 0 or negative. const auto value = static_cast<int>(lua_tonumber(L, 2)); item->SetSocket(idx, value); } else sys_err("Passing bad argument from LUA."); return 0; }
- 1
- 2
-
cmd_general.cpp
-
Did you deleted/renamed the var/db/mysql folder before to run service start with Maria?
-
Packet 3 is the chat if I'm not wrong, so the error is just a strange effect of a bad LUA usage.
Show the quest or at least the button you press to understand better.
-
Better to create also a list of allowed link roots inside the game.
- 1
-
On 1/16/2024 at 9:04 PM, BYB said:
Thats the only answer I could find but its really hard to believe a code like this can be mastered to such degree some people have here , but honestly respect to anyone who actually made it out of the phase very impressive in my opinion .
Lots of luck guys. thank you for your continuous effort to improving such a nostalgic memory , that even the owners never could do with millions in their pocketsDoesn't matter if you have a degree or not. Knowing this source is question of time because you have to empathize with old code from people of the other side of the world (idk where are u from). Do not think everything in wrote is good, in the Asia the reasoning is not same as EU etc.. It's a nice challenge for people who like to feel the pain and mistery, enjoy
- 1
-
-
void CDungeon::SpawnRegen(const char* filename, bool bOnce)
Has a boolean parameter.
-
6 hours ago, lTz said:
hi , ty all for ur answers
i finaly found the problem
That item was somehow dupping in my inventory , and that was what made the sv crash (hard to see that cuz that item was invisible and stacked over another visible one, and no sys)
but i stil don't get why was crashing the server just when i move the window around , normal login didn;t have any problem
As for the window freeze i try this oneand i make it so i cant right click the window to so it avoid game freze
Ty allThat's why I told to truncate the player.item table, but surely you didn't understand what I was meaning.
Good luck.
-
4 minutes ago, lTz said:
ty for answer
i tried an /ip all
i deleted that item nothing worked
the main problem is that when i log in the game and press start and the loading window come if i move the game window around a lot the server crashes
if i dont move it is ok
i gues is because when i move the window the game freeze and data are kept floating and never reaching the server
this is my ques i may be wrongIts a test server? Did you also try truncating the player.item table?
I don't see any logic relation by the "move" you were explaining
-
Item 41012 in your inventory is broken.
Fix for RESIST_CRITICAL & RESIST_PENETRATE on skills
in Bug Fixes
Posted · Edited by WeedHex
In char_battle.cpp file
In the function:
In the skills statement:
These boys
are getting calculated after the Korean nerf used for skills (If you have 100% critical, your skills won't be always critical like normal hits).
Using a determinated amount of resistance in the gameplay you can lead the real bonus to reach 0%, so no critical skills in PvP (Mob doesn't have the bonus by default).
To fix the problem you should just move the resist calculation after the critical check >0.
Eg: