-
Posts
228 -
Joined
-
Last visited
-
Days Won
1 -
Feedback
100%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Posts posted by Ulthar
-
-
1 hour ago, Alessio said:
the item_proto files are the same inside tmp4? or they are also updated to new versions?
I dont understand your question. THIS is tmp4 base, and i added those systems.
- 1
-
1 hour ago, kierohere said:
Where can I find this: the percentage of the pulled mobs increased to 80%?
I would like to change it myself. Are you planning future modifications? Would love to see Pet System and Cards Okey system!
Great work!
Thank you!
for the mob pull percentage:
Search in char_battle.cpp for:struct FuncAggregateMonster
And scroll down, u will see the "80" number. This is for the percentage, ofc. If you put 20, chance for pulling mobs will be 20%.
Im not planning to upgrade this base, cuz this is a starter base.
- 1
-
Update:
I prepared a working BSD. You can download it via the link above. I did more tests, I tried it on more different machines, and everything was working.- 1
-
1 hour ago, rotad69 said:
perfect it works.. for switchbot which did you use?
Sanii switchbot. Ask LordZiege, you can buy it from him.
- 1
-
On 2/26/2023 at 9:32 PM, rotad69 said:
hello.. i installed the files on VPS, i'm trying them.
Offline store not working. Client syserr emptyHello, sorry for late answer. Go to mysql, open: player->player_shop->edit table, and search for shop_vid. And add a devault value, which will be "0". Save it, and try to create offshop.
On 2/26/2023 at 9:32 PM, rotad69 said:it also doesn't allow you to change skills or add potions in the taskbar, syserr:
0226 21:44:52141 :: mouseModule.py: AttachObject : 'module' object has no attribute 'SLOT_TYPE_SWITCHBOT' 0226 21:44:54451 :: mouseModule.py: AttachObject : 'module' object has no attribute 'SLOT_TYPE_SWITCHBOT' 0226 21:44:55376 :: mouseModule.py: AttachObject : 'module' object has no attribute 'SLOT_TYPE_SWITCHBOT' 0226 21:44:57901 :: mouseModule.py: AttachObject : 'module' object has no attribute 'SLOT_TYPE_SWITCHBOT' 0226 21:44:58725 :: mouseModule.py: AttachObject : 'module' object has no attribute 'SLOT_TYPE_SWITCHBOT' 0226 21:44:59930 :: mouseModule.py: AttachObject : 'module' object has no attribute 'SLOT_TYPE_SWITCHBOT' 0226 21:44:02058 :: mouseModule.py: AttachObject : 'module' object has no attribute 'SLOT_TYPE_SWITCHBOT' 0226 21:44:02931 :: mouseModule.py: AttachObject : 'module' object has no attribute 'SLOT_TYPE_SWITCHBOT' 0226 21:44:03394 :: mouseModule.py: AttachObject : 'module' object has no attribute 'SLOT_TYPE_SWITCHBOT' 0226 21:44:03610 :: mouseModule.py: AttachObject : 'module' object has no attribute 'SLOT_TYPE_SWITCHBOT' 0226 21:44:05524 :: mouseModule.py: AttachObject : 'module' object has no attribute 'SLOT_TYPE_SWITCHBOT' 0226 21:44:07833 :: mouseModule.py: AttachObject : 'module' object has no attribute 'SLOT_TYPE_SWITCHBOT' 0226 21:44:08542 :: mouseModule.py: AttachObject : 'module' object has no attribute 'SLOT_TYPE_SWITCHBOT' 0226 21:45:29547 :: mouseModule.py: AttachObject : 'module' object has no attribute 'SLOT_TYPE_SWITCHBOT' 0226 21:45:06210 :: mouseModule.py: AttachObject : 'module' object has no attribute 'SLOT_TYPE_SWITCHBOT' 0226 21:45:07349 :: mouseModule.py: AttachObject : 'module' object has no attribute 'SLOT_TYPE_SWITCHBOT'
how to fix
root/mousemodule.py
#search in def DeattachObject(self): self.AttachedType == player.SLOT_TYPE_MALL or \ self.AttachedType == player.SLOT_TYPE_SWITCHBOT: # <--- #change self.AttachedType == player.SLOT_TYPE_MALL: #search in def AttachObject(self, Owner, Type, SlotNumber, ItemIndex, count = 0): self.AttachedType == player.SLOT_TYPE_MALL or \ self.AttachedType == player.SLOT_TYPE_SWITCHBOT: # <--- #change self.AttachedType == player.SLOT_TYPE_MALL:
Updated. Thanks for your answer, i forgot to remove it from mousemodule.
- 1
- 1
-
4 hours ago, Infinity Development said:
Thanks for your help, it's a great contribution to the community.
Thanks!
4 hours ago, Helia01 said:ty
You're welcome guys. ^^
-
1 hour ago, FuveZeq said:
Hi, I'm using sanii shining system, and the problem is:
If i put on a body costume the effect is work (same with weapon), but if i try on a weapon costume invisible, what is the problem?
https://metin2.download/video/VmN6d2uopx3rCNdW4ag2xY1kKdHSVDFP/.mp4Yo, alcoholic cringe friend. comment out the #ifdef enable_weapon_costume and his endif from your dump proto. If its still bad, write me on discord u lazy fk. ♥
- 1
-
The file uploaded to Google Drive.
Hello!
Today i want to share my modifications what i changed on the @ TMP4 base. (Thanks for your work guys.♥)
SpoilerYou may ask, why?
So... Im not a professional programmer. Im a professional CTRL+C and CTRK+V guy. I learn how to use my brain if i have an error at compiling or at python part.
Im helping people a lot, and what i saw is, almost every single person who i helped, use a bugged serverfile. And i always ask: "Why are u not starting it from zero?
The tmp4 base is very clean, and a lot minor bug is solved." They always answer the same. "Too much time. OR I'm not good enough. OR Too clean sf and i dont know how to start my project."
Well, i prepared for you an upgraded sf with a lot modifications.
Good luck for all of you!
Thats all.So whats inside in this modified TMP4 base?
- Quest message shown faster. GIF
- Sash system. GIF
- Infinity Bravery cape + the percentage of the pulled mobs increased to 80% (default was 50%)
- If you kill a mob, will despawn faster. 3 sec. (default was 10 sec) GIF
- Emoji in textline. GIF
- ID, Type, Subtype in tooltip, only for GMs. GIF
- Mount's rotate speed increased. GIF
- Offline shop (Great) + offline shop search. GIF
- Weapon costume.(The costumes are only illustration for better understand.) GIF
- Mount follow + mount item goes to the costume window. GIF
- Shining system by Sanii. GIF
- Inbuilt GR2 animation. GIF
- Won system.
- DS slot active effect. GIF
- Mount - unmount delay fix. GIF
- Fast exit button(The client will close immediately if you click on 'Exit game' button.)
- Multilanguage. (Only for item names (client side)) GIF
- Clickable buttons in inventory for open off shop and itemshop storage.
- Add 10x statpoints by pressing CTRL+Lclick. GIF
- 4 inventory, 6th skills.
Known bugs/problems:
- The sash is not attached to the character's back properly when mounting. (This is a common bug/problem. If you know a fix for it, share it with us, please.)
- The multilanguage is only translating the item names, cuz the mob names arent read from client.
Last but not least, i hope i did'nt brake any rules with this "release", cuz i really dont want to.
Link for V2:
Sincerely:
Ulthar- 265
- 1
- 18
- 1
- 1
- 1
- 2
- 1
- 77
- 19
- 197
-
Thank you, its working for me.
Lil tanky doggo
https://metin2.download/picture/bjt2x4wGc6U94iHQ6ACW7sNasMCLYuVM/.png -
Thank you! ^^
A little """fix""", if you want to make the chests stackable;
If you open a case, by default it will remove all the cases. For solve this problem, search for this in char_item.cpp:In: void CHARACTER::LuckyBoxReceive()
ITEM_MANAGER::Instance().RemoveItem(src_item);
Change it to:
src_item->SetCount(src_item->GetCount() - 1);
- 1
- 4
-
On 4/11/2022 at 6:27 PM, Th1Doose said:
Try to remove something from a monster and then do reload drop, will it remove or will keep it there until you restart the client??
It will keep, cuz the system send the information about drops to the client once. You can fix it, i found a post about it.
-
On 1/21/2023 at 3:21 AM, welzi said:
Hello, I have a problem where the server freezes as soon as I equip a costume weapon and won't let me back into character.
Hello. Re-do everything, cuz you did something wrong in a wrong section.
- 1
-
29 minutes ago, Distraught said:
That’s the function of another class.
Yea i knew, just asked. so i dont have it, then i do nothing, right ? :'D
-
On 7/8/2022 at 2:12 AM, Distraught said:
Go to CAniImageBox::SetDiffuseColor function and overwrite with
void CAniImageBox::SetDiffuseColor(float fR, float fG, float fB, float fA) { m_SetDiffuseColor = std::bind(&CGraphicExpandedImageInstance::SetDiffuseColor, std::placeholders::_1, fR, fG, fB, fA); std::for_each(m_ImageVector.begin(), m_ImageVector.end(), m_SetDiffuseColor); }
Instead of this function,
have this:void CImageBox::SetDiffuseColor(float fr, float fg, float fb, float fa) { if (!m_pImageInstance) return; m_pImageInstance->SetDiffuseColor(fr, fg, fb, fa); }
Is it okey if i overwrite this?
-
2 hours ago, zoowiS said:
can you help me? i have some errors in binnary.
Exemple: Error 261 error C2039: 'GetMotionPointer' : is not a member of 'CGraphicThing'
Error 14 error C2039: 'shared_ptr' : is not a member of 'std'
Error 200 error C2065: 'm_motions' : undeclared identifierError 362 error C2143: syntax error : missing ',' before '<'
Can someone help me?
Try with "std::shared_ptr"
-
On 6/22/2022 at 9:17 PM, Syreldar said:
- Select the run/walk animation of your mount.
- Open it in granny
- Click "view in detail"
- Profit.
granny_real32 Duration = MotionDuration
granny_real32 LoopTranslation = Accumulation
Update the relative .msa file if they don't match with the .gr2's data:
MotionDuration 0.666667 Accumulation 0.00 -300.00 0.00
Make sure it's also correct in the share/data folder in your server.
Make sure the value in the mob_proto column `folder` is also correct (or in the .txt if you're using .txt protos).
This one is helped me a LOT. Fixed for backteleporting, fixed for mobs wont load. Thank you. ♥
- 1
- 1
-
On 5/9/2021 at 6:36 AM, Ulthar said:
thanks for sharing!
Its not working for me...
everything builded without any error.
syserr cleanAny help please?
I tried to add it again... I dont know how is it working now, but its working. xD
thanks for the post ofc, have a nice day, Mali. I loveyousomuch♥- 1
-
For me, the coloring isnt working. Anyone can help me ?
I added it but nothing :c
Spoilerself.wndItem.ActivateSlot(i)
self.wndItem.SetSlotDiffuseColor(i, wndMgr.COLOR_TYPE_PURPLE) -
SOLVED
Just follow the 12 inventory tutorial, and do not increase to UINT, but WORD. It will work.
-
Hello!
I have a "little" problem. I started adding 10 inventory and when i want to move for ex. a sword, i cannot move to 7th inventory, only for 6th inventory and not into the last position.
AAAAND! When i want to move a skillbook, or a belt, i can move it to the 10th inventory.
Here is a lil videao about it (click me)
Can someone hel me? i litteraly have no idea WHY is not working... If i want to move an item which have more than 1 slot, i cannot move it to the 7th inventory, but its working with 1 slot items... Wtf? :'D
EDIT (more info):
So based on the "extend to 4 inventory page" i did this 10 inventory pages.
I dont want someone to do it for me, i just want to get hints, where should i increase the datatype. Cuz byte have 255 max, but there is no byte left cuz 6 inventory page + belt inventory page is much more than 255.
Sry for my bad eng. -
2 minutes ago, LethalArms said:
PROBLEM FIXED
the OnPickMoney function on uiExchange.py was wrong
instead of:
def OnPickMoney(self, money): net.SendExchangeElkAddPacket(str(money))
it needs to be like this
def OnPickMoney(self, money): net.SendExchangeElkAddPacket(money)
and it works perfectly :v
Nice, so that was your problem what i told you on DC. Good job!
-
@LethalArms Add me back on discord. I will try to help you.
- 1
-
Hello. Any syserr? Did you tried it without the "new" exchange window? Try without the "new one" and lets see is it sending yang or not ^^. If its, then the problem around the exchange window If not, send me your uiexchange.py on pastebin. (upload it and send the link here)
-
2 hours ago, Amun said:
root/uiRefine
def Accept(self): net.SendRefinePacket(self.targetItemPos, self.type) self.Close() def CancelRefine(self): net.SendRefinePacket(255, 255) self.Close() def OnPressEscapeKey(self): self.CancelRefine() return True
This is part where i had the problem. Im just stoopid af. Just too stoopid for everything. Plus im blind too.
The problem was this:
Before:def CancelRefine(self): net.SendRefinePacket(255, 255) if app.ENABLE_REFINE_RENEWAL: constInfo.AUTO_REFINE_TYPE = 0 constInfo.AUTO_REFINE_DATA = { "ITEM" : [-1, -1], "NPC" : [0, -1, -1, 0] } self.Close()
After:
def CancelRefine(self): #net.SendRefinePacket(255, 255) net.SendRefinePacket(255, 255, 0, 0, 0, 0) if app.ENABLE_REFINE_RENEWAL: constInfo.AUTO_REFINE_TYPE = 0 constInfo.AUTO_REFINE_DATA = { "ITEM" : [-1, -1], "NPC" : [0, -1, -1, 0] } self.Close()
- 1
Upgraded Reference (TMP4 Base) By Ulthar
in Binaries
Posted
Bro. Do u know tmp4 base? whats inside tmp4, thats inside in this files too, cuz its the tmp4 base. Everything what i changed/added, its written in the post- Or am i still dont understand your question?xd