- 0
-
Activity
-
162
-
3
-
2
Origins2 Global | International | A new concept - 10.06.2022
Dear Community, We inform you that we have launched the official OG2 coin website! More information about this cryptocurrency can be found on the website. Follow us on social media to stay informed about this currency: Website: https://coin.origins2.global/ Telegram: https://t.me/og2coin Twitter: Soon we will announce our first airdrop (giveaway) worth 2000 OG2 coins! -
2
Origins2 Global | International | A new concept - 10.06.2022
beautiful presentation- 1
-
-
7
-
0
Does the Metin2 official system recognize?
Hey guys im curious if Metin2 can detect Robot clicks from IDEs, so he get banned? I recognized someone fishing for a very long time, a normal guy cant really fish that long. Thanks in advance -
0
Looking for partners for international server
Good afternoon community, Friends I am looking for people who want to work on the development of an international project, the idea is that we are from different communities for example I am from the Hispanic community, I am looking for people from the Romanian, Turkish, German, English, Portuguese, Hungarian community, French and Italian, if you are interested contact me on Discord and we can talk better. [SA]Aaron#7965 -
0
mob_proto.txt db offline +db.core
how can i fix the error below? SYSERR: May 19 16:08:44.708826 :: ChildLoop: AsyncSQL: query failed: Data truncated for column 'size' at row 1 (query: replace into mob_proto (vnum, name, locale_name, type, rank, battle_type, level, size, ai_flag, setRaceFlag, setImmuneFlag, on_click, empire, drop_item, resurrection_vnum, folder, st, dx, ht, iq, damage_min, damage_max, max_hp, regen_cycle, regen_percent, exp, gold_min, gold_max, def, attack_speed, move_speed, aggressive_hp_pct, aggressive_sight, attack_range, polymorph_item, enchant_curse, enchant_slow, enchant_poison, enchant_stun, enchant_critical, enchant_penetrate, resist_sword, resist_twohand, resist_dagger, resist_bell, resist_fan, resist_bow, resist_fire, resist_elect, resist_magic, resist_wind, resist_poison, dam_multiply, summon, drain_sp, skill_vnum0, skill_level0, skill_vnum1, skill_level1, skill_vnum2, skill_level2, skill_vnum3, skill_level3, skill_vnum4, skill_level4, sp_berserk, sp_stoneskin, sp_godspeed, sp_deathblow, sp_revive) values (101, "??", "Vad kutya", 0, 0, 0, 1, 0, this will cause the server to shut down and not start -
32
-
-
Recently Browsing
- No registered users viewing this page.
Question
kodepiko 36
Hello,
I'm trying to raise limit of maximum item price at (private)shop, I change:
root/uitooltip.py - def CutMoneyString, int() to long()
root/uiprivateshopbuilder.py - def AcceptInputPrice, int to long
root/uicommon.py - __OnValueUpdate, int to long
root/uipickmoney.py (also for exchange yang) - def OnAccept, int to long
At server/client source I changed everything (when I try to buy an item which is showing 0 yang price, system says I dont have too much yang (for ex. 3.000.000.000) and it's correct - when my yang amount is lower of course
so price is correct via packets, but I think it's problem by showing that price somewhere in python :/
I searched for int() but I didn't find anymore...
Maybe some of you did item prices 2kkk+ and can help me?
Regards
Link to comment
Share on other sites
Top Posters For This Question
1
4
7
1
Popular Days
Oct 1
6
Sep 24
3
Sep 30
2
Oct 2
1
Top Posters For This Question
xP3NG3Rx 1 post
TAUMP 4 posts
kodepiko 7 posts
xRdy2Kill 1 post
Popular Days
Oct 1 2015
6 posts
Sep 24 2015
3 posts
Sep 30 2015
2 posts
Oct 2 2015
1 post
Popular Posts
xP3NG3Rx
This is not compatible with long long, but you should do this way: case SHOP_SUBHEADER_GC_UPDATE_PRICE: PyObject *args = PyTuple_New(1); PyTuple_SetItem(args, 0, PyLong_FromLongLong(*(long long *)&vecBuffer[0])); PyCallClassMemberFunc(m_apoPhaseWnd[PHASE_WINDOW_GAME], "SetShopSellingPrice", args); As here, this is not useful with long long: PyCallClassMemberFunc(m_apoPhaseWnd[PHASE_WINDOW_GAME], "OnPickMoney", Py_BuildValue("(i)", (int)PointChange.amount)); Replace with:
TAUMP
Same problem. Exchange with yang is ok but shop nope.
Great
You too forgot about function which you get prices in uitooltip for privateshop
13 answers to this question
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now