-
Posts
33 -
Joined
-
Last visited
-
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Everything posted by Asentrix
-
Remove/edit buttons from menu (ESC)
Asentrix replied to flww's topic in Community Support - Questions & Answers
locale_xx/ui/systemdialog.py if you want to remove a button you have to remove it from there, and remove it too from root/uisystem.py -
problem with building a guild area
Asentrix replied to santa12's topic in Community Support - Questions & Answers
sorry, my mistake. go to database table player -> land there you can edit the price/level_limit. -
problem with building a guild area
Asentrix replied to santa12's topic in Community Support - Questions & Answers
it comes from here: local price, owner, guild_level_limit = building.get_land_info(land_id) so it takes the price, level from ALUA(building_get_land_info) (game/questlua_building.cpp) check it, you should be able to change it from there -
I checked the code in that thread, actually it should work but since you'll add it in void CInputLogin::Entergame so it will be applied when you sign out and log in again so bonuses are applied.
-
Paid service - Vegas Projects
Asentrix commented on VegaS™'s product in Third Party - Providers Directory
Leakers be like: good luck Vegas with your sales, you're one of the great metin2 devs. -
Leakers be like: good luck Vegas with your sales, you're one of the great metin2 devs.
-
Problem with virtualbox (autobooting)
Asentrix replied to Creo's topic in Community Support - Questions & Answers
Just use command passwd I think Edit: I think you meant reset not changing, I missunderstood you anyway to reset see freebsd faq: [Hidden Content] but in virtualbox you don't have to write "boot -s" to enter single-user mode, you can just enter it by clicking the number beside "Single User Mode" to enter it -
How to create map coordinates
Asentrix replied to regal's topic in Community Support - Questions & Answers
about the coordinates, it should be able to be divided by 256 -
you have to add |cff + hex color search google for Hex colors for example hex color for red is #FF0000 so to use it |cffFF0000 so it will be like: REFINE_SUCCESS_PROBALITY |cffFF0000Successrate: %d%%
-
locale_game.txt search for: REFINE_SUCCESS_PROBALITY you can edit the color from there
-
in ui.py in class RadioButton(Button): you have: def OnMouseOverIn(self): if self.overFunc: apply(self.overFunc, self.overArgs ) def OnMouseOverOut(self): if self.overOutFunc: apply(self.overOutFunc, self.overOutArgs ) def SetOverEvent(self, func, *args): self.overFunc = func self.overArgs = args def SetOverOutEvent(self, func, *args): self.overOutFunc = func self.overOutArgs = args move them to class Button(Window):
-
class TitleBar in ui.py doesn't have def CloseButtonHide it's true that you have def CloseButtonHide in ui.py, but it's inside another class (class HorizontalBar) not the titlebar
-
pkg install python27 didn't work too?
-
Small bug - private shop
Asentrix replied to CristianDragan's topic in Community Support - Questions & Answers
compare this def with another one, I see some differences here def SetPrivateShopBuilderItem -
Small bug - private shop
Asentrix replied to CristianDragan's topic in Community Support - Questions & Answers
I think that problem is coming from uitoolip.py, can you show it? -
probably to be different (1 differs from 2 and etc) anyway, If I want to do something like that I would do it like this: quest randdrop begin state start begin when 11505.click begin local randitems = { -- {vnum, count} {27001, 1}, {27002, 1} } local rndnum = math.random(table.getn(randitems)) game.drop_item_with_ownership(randitems[rndnum][1], randitems[rndnum][2]) end end end
-
Since you already (I guess) know how to add buttons you should create a function in c++ and use that function when someone click the button One of the ways is to make new command in c++ and use that command by net.SendChatPacket in Python in that button(but I don't recommend this way much, just giving an idea)
-
Seems like you have some syntax errors (maybe you forgot a } or something like that)
-
Hey all, easy to fix but I'm releasing because I realized many of servers(and devs) have this problem problem description: when you enter decimal number in Won Exchange window (like 1.5) it will be exchanged for 150,000,000 but it will remove 1 won only so you got yang more than you should get. after checking some cheque systems (including WLsj24 ones) in quests they have check like: if ((amount < 1) or (amount >19) or (amount == nil)) then and it's true except that check from 1 to 19 includes decimal numbers too so if you write 1.5 it will be exchanged to 150,000,000 and only remove 1 Won so you should put a check for INT, you can modify it to be: if ((amount < 1) or (amount >19) or (amount == nil) or (math.floor(amount) ~= amount)) then (if the floor of amount is equal to amount so it's INT, otherwise it's not int) Best Regards.
-
cd /usr/game search for cores file then db folder then conf.txt (path may differ)
-
there's nothing wrong in your modification for me I think it's somehow related to encoding (because of notepad++) can you try and edit the item_proto by normal notepad? (not ++) and tell us the result? (just to make sure what's causing the problem) seems like you're using marty's sama source, PROTO_FROM_DB = 1/0 // enable/disable item/mob proto loading from db (otherwise, .txt) MIRROR2DB = 1/0 // convert .txt protos to .sql ones you can adjust it from these 2 options at DB/Conf.txt