-
Posts
196 -
Joined
-
Last visited
-
Days Won
14 -
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Everything posted by Abel(Tiger)
-
It is trading when the inventory is full.
Abel(Tiger) replied to Türkish's topic in Community Support - Questions & Answers
And you think we are blind ? -
NEED HELP WITH SOME PACKETS
Abel(Tiger) replied to lolloso5's topic in Community Support - Questions & Answers
Isn't what you ask forbidden on this board ? -
Creating quest function
Abel(Tiger) replied to Avisek's topic in Community Support - Questions & Answers
"get_table_postfix()," -> Remove that , or replace all query with: Query("INSERT DELAYED INTO report%s (who, reported) VALUES('%s', '%s');", get_table_postfix(), who, reported); get_table_postfix is used for test servers most of the times , for example you add TABLE_POSTFIX = "_test" in db config and your new tables will be "player_test", "item_test" .... -
That happen when you steal something and don't buy it from the creator ...
-
Metin2 server name ideas
Abel(Tiger) replied to eugen1234's topic in Community Support - Questions & Answers
Metin2Three or Metin2Four or Metin2Five -
New functions for something already there and talking about performance. Code c++98 and talk about performance. Systems writed with DirectQuery in loops and talk about performance. Metin2 Source is a big source and already has shits that slow down so don't talk about performance. Performance is not in one iterator used just when you enter in doungeon.
-
[Hidden Content]
-
There are more classes in uiGuild.py , make sure you put in right class (GuildWindow).
-
When you try to remove a player from party with target button, it will not work.
-
Item Proto / Mob Proto
Abel(Tiger) replied to Fr3zy94's topic in Paid Support / Searching / Recruiting
https://mega.nz/#!s8NxiBoD!8YgUJnrtRTBYr9cv1ZeOa9mVA3V9kZzzqr7hI1tg8Sw mob_proto has the structure changed and i can't decrypt (yet).- 1 reply
-
- 1
-
fix Fix Accessory Bug - 0 Minutes when Create a Jewel
Abel(Tiger) replied to Metin2 Dev's topic in Bug Fixes
I seen this on 2089 game (3-4 years ago), but is not actually a bug and the "fix" is not in server source. Check item_proto -> GainSocket collumn (for accessories need to pe 0) =))) I don't know why you try to fix everything on server source. To look smart ? if (table->bGainSocketPct) item->AlterToSocketItem(table->bGainSocketPct); -
You need to write #Dumb
-
1. Make a guild 2. Put that code in uiGuild.py in OnUpdate function net.SendGuildPostCommentPacket("") 3. In your console type "top" and check "mysql" process 4. Check your table player.guild_comment to... Fix: ## 1.guild.h // 1.1.Search: EventMap m_GuildInviteEventMap; // 1.1.Add after: protected: int m_guildPostCommentPulse; ## 2.guild.cpp // 2.1.Search function: void CGuild::AddComment(LPCHARACTER ch, const std::string& str) { ... } // 2.1.Replace with: void CGuild::AddComment(LPCHARACTER ch, const std::string& str) { if (str.length() > GUILD_COMMENT_MAX_LEN || str.length() == 0) // Added string null verification return; // Compare last pulse with current pulse and notify the player if (m_guildPostCommentPulse > thecore_pulse()) { int deltaInSeconds = ((m_guildPostCommentPulse / PASSES_PER_SEC(1)) - (thecore_pulse() / PASSES_PER_SEC(1))); int minutes = deltaInSeconds / 60; int seconds = (deltaInSeconds - (minutes * 60)); ch->ChatPacket(CHAT_TYPE_INFO, "You can post a new comment in: %02d minutes and %02d seconds!", minutes, seconds); return; } char text[GUILD_COMMENT_MAX_LEN * 2 + 1]; DBManager::instance().EscapeString(text, sizeof(text), str.c_str(), str.length()); DBManager::instance().FuncAfterQuery(void_bind(std::bind1st(std::mem_fun(&CGuild::RefreshCommentForce),this),ch->GetPlayerID()), "INSERT INTO guild_comment%s(guild_id, name, notice, content, time) VALUES(%u, '%s', %d, '%s', NOW())", get_table_postfix(), m_data.guild_id, ch->GetName(), (str[0] == '!') ? 1 : 0, text); // Set comment pulse to 10 minutes m_guildPostCommentPulse = thecore_pulse() + PASSES_PER_SEC(10*60); }
-
...
-
Just a visual error. If is that important for you: ## uiaffectshower.py ## Search: if level==0: self.horseImage=None else: ## Replace with: if level==0: self.horseImage=None self.__ArrangeImageList() else:
-
Offline Shop duplicate bug
Abel(Tiger) replied to Human's topic in Community Support - Questions & Answers
This bug is old =) Very old. In : void COfflineShopManager::TakeItem(LPCHARACTER ch, BYTE bPos) Search: "FROM %soffline_shop_item WHERE owner_id = %u and pos = %d", get_table_postfix(), ch->GetPlayerID(), bPos); Replace with: "FROM %soffline_shop_item WHERE owner_id = %u and pos = %d and status = 1", get_table_postfix(), ch->GetPlayerID(), bPos); -
Found a bug with resolution for AMD players
Abel(Tiger) replied to Exygo's topic in Community Support - Questions & Answers
I had that bug too, for me was a python problem . (For me not just freeze, it was like some windows are opened and opened again) In uiplayergauge.py result of some operations was NaN and tried to put Gauge on NaN position. eg.: (x - self.GetWidth()/2 = NaN). Try to use this file: [Hidden Content] -
[Hidden Content] Are you sure total money will be -475000 ? In your code is no condition and your print of nTotalMoney is wrong , a unsigned variable should be printed with %u. Ofc if you print a unsigned variable with signed type it will make automaticaly conversion. (Like you put (int) before variable). [Hidden Content] So Mali61, if you really want to use that condition try like that: (or use @xP3NG3Rx code , is better) case POINT_GOLD: { unsigned int nTotalMoney = GetGold() + amount; if (nTotalMoney > GOLD_MAX) { return; }else if ((int)nTotalMoney < 0) { return; }else{ SetGold(GetGold() + amount); val = GetGold(); } }
-
unsigned int nTotalMoney if(nTotalMoney < 0) Really ? nTotalMoney never can be negative.
-
[Hidden Content] [Hidden Content] d:/ymir work/ui/game/myshop_deco/select_btn_01.sub ...
- 19 replies
-
- 45
-
Game Of Thrones The 100 The Originals The Vampire Diaries Teen Wolf 13 Reasons Why
-
Search @martysama0134 , he has that system in his source. Maybe he sell separated for a good price .
-
lycan right weapon bug
Abel(Tiger) replied to numNum's topic in Community Support - Questions & Answers
-
How to see bonuses at type 33
Abel(Tiger) replied to DarkFire's topic in Community Support - Questions & Answers
if itemVnum == 71136: -
In __IsNewHair2 replace 77000 with 76000