-
Posts
62 -
Joined
-
Last visited
-
Days Won
4 -
Feedback
0%
Content Type
Forums
Store
Third Party - Providers Directory
Feature Plan
Release Notes
Docs
Events
Posts posted by Micha aka xCPx
-
-
the thing is: you don^t have to. You can simply take the Bonuses at the Pet Item.
So for example: Bonus 5 / 6 / 7.Set the bonustype to 0 and then you got 32767 storages per bonus.
-
First there is a python variable.which is checked by m2 Bob if it exists then it won't run (they sell protections)
Second you can simply don't let your exe start in sandboxes or run by another program
-
All maps you are showing are on ch99.
So basically it checks clientside if it is on ch99.
If you don't add ch99 to the index in the mapping it doesn't find it and the function isn't run.
So basically it allready checks it.
Also if an port isn't added to the mapping then teleport won't work if you are on this ch
-
There is a much more simple version of fixing it..
- 1
-
Depending on exact values
Also.you forgotten the calculation below
-
You know that the system as released here works perfectly or?
But you need correct entries in the serverinfo and also the right ports
Also the map checks is serverside
If Ch99 isn't set to the map then you function allways returns if player is in ch99
The clientside part I just took from wom2 because was too lazy go create own guy
-
I know that it isn't the best c++ Code, but I really.love using maps ^^
Py part is 1:1 from wom:o
And yeah the German sentence comes through
sorry for that ^^
Mobile phone and yeah
-
Will may write a new version of it which is based on mysql entries
-
It works Ingame like the one of wom
-
-
You have forgotten to add your map correctly to the text file in the root.epk
-
Hey.
At the moment we ( me and a few friends ) wanted to create a new kind of metin2.
The problem is: we need some sponsors for Maps / 3D / Design and so on.
Depending on what you sponsor you get what you sponsored + 30% or maybe percentual of the Servers income after the start of the server.Skype: mav2904
- 1
-
Hey,
after somone sells it under his name and earns money with my work i release it now.
looks like a normal warpIs ne 10min Arbeit aber naja was solls.
Spoileractual working with this ports.
Spoilerch1:
13002 - 13008
ch2:
13102 - 13108
ch3:
13202 - 13208
ch4:
13302 - 13308cmd.cp: after: ACMD(do_warp); add: ACMD(do_channel_switch); after: { "mall_close", do_mall_close, 0, POS_DEAD, GM_PLAYER }, add: { "channel", do_channel_switch, 0, POS_DEAD, GM_PLAYER }, cmd_general.cpp: after: ACMD(do_set_run_mode) { ch->SetNowWalking(false); ch->SetWalking(false); } add: ACMD(do_channel_switch) { char arg1[256]; one_argument(argument, arg1, sizeof(arg1)); if (!*arg1) return; int new_ch; str_to_number(new_ch, arg1); if( new_ch <1 || new_ch >4) // REPLACE 2 WITH YOUR MAX_CHANNEL return; if (!ch->IsPC()) return; ch->ChannelSwitch(new_ch); } char.h: after: void StartWarpNPCEvent(); add: void ChannelSwitch(int new_ch); char.cpp: after: EVENTFUNC(warp_npc_event) { char_event_info* info = dynamic_cast<char_event_info*>( event->info ); if ( info == NULL ) { sys_err( "warp_npc_event> <Factor> Null pointer" ); return 0; } LPCHARACTER ch = info->ch; if (ch == NULL) { // <Factor> return 0; } if (!ch->GetSectree()) { ch->m_pkWarpNPCEvent = NULL; return 0; } FuncCheckWarp f(ch); if (f.Valid()) ch->GetSectree()->ForEachAround(f); return passes_per_sec / 2; } add: void CHARACTER::ChannelSwitch(int new_ch){ long lAddr; long lMapIndex; WORD wPort; long x = this->GetX(); long y = this->GetY(); if (!CMapLocation::instance().Get(x, y, lMapIndex, lAddr, wPort)) { sys_err("cannot find map location index %d x %d y %d name %s", lMapIndex, x, y, GetName()); return; } if(lMapIndex >= 10000){ return; } std::map<WORD, int>micha; for(int i = 0; i < 4; i++){ //replace with maximum channels -1 actual 1300x - 1330x for(int i2 = 2; i2 < 9; i2++){ //replace with your core values actual 13x02 - 13x08 micha[13*1000 + i*100 + i2] = i+1; } } //micha[13002] = 1; int chan; if(micha.find(wPort) != micha.end()){ chan = micha[wPort]; }else{return;} Stop(); Save(); if(GetSectree()){ GetSectree()->RemoveEntity(this); ViewCleanup(); EncodeRemovePacket(this); } TPacketGCWarp p; p.bHeader = HEADER_GC_WARP; p.lX = x; p.lY = y; p.lAddr = lAddr; p.wPort = (wPort - 100*(chan-1) + 100*(new_ch-1)); GetDesc()->Packet(&p, sizeof(TPacketGCWarp)); }
Py script + howto in description
have fun with it
- 58
- 1
- 2
- 1
- 1
- 1
- 1
- 3
- 29
- 5
- 66
-
Hello!
It's nice to have a pro like you here
I am not Pro
i simply program stuff, not more and not less.
Of course there are many people better than me (: -
Guildsafebox related error.
0616 12:12:43691 :: SYSERR: File "networkModule.py", line 247, in SetGamePhase 0616 12:12:43692 :: SYSERR: File "game.py", line 104, in __init__ 0616 12:12:43692 :: SYSERR: File "interfaceModule.py", line 291, in MakeInterface 0616 12:12:43693 :: SYSERR: File "interfaceModule.py", line 183, in __MakeWindows 0616 12:12:43694 :: SYSERR: File "uiSafebox.py", line 513, in __init__ 0616 12:12:43694 :: SYSERR: File "uiSafebox.py", line 580, in __LoadWindow 0616 12:12:43695 :: SYSERR: File "uiSafebox.py", line 681, in RefreshGuildSafeboxMoney 0616 12:12:43696 :: SYSERR: AttributeError 0616 12:12:43696 :: SYSERR: : 0616 12:12:43696 :: SYSERR: 'module' object has no attribute 'GetGuildMoney' 0616 12:12:43697 :: SYSERR: 0616 12:12:45766 :: SYSERR: Traceback (most recent call last): 0616 12:12:45767 :: SYSERR: File "game.py", line 808, in RefreshInventory 0616 12:12:45767 :: SYSERR: File "interfaceModule.py", line 580, in RefreshInventory 0616 12:12:45768 :: SYSERR: AttributeError 0616 12:12:45769 :: SYSERR: : 0616 12:12:45769 :: SYSERR: 'NoneType' object has no attribute 'RefreshQuickSlot' 0616 12:12:45770 :: SYSERR:
-
Hey,
After Jonas said hello, i think i should do that, too.
So my name is Micha, i am 20 Years old and i started developing in 2008 where i had my first chinese metin2 server.(At this time called "Korea Server")
After the release of Tims archiver i started working on client and so on and on.
Until now i can do nearly everything that is possible in mt2 ( except scaling that fcking rights meshes )
and yeah ^^If you need something simply ask me (:
-
The Models pack in your Post Has stupid texture paths (C: something)
-
Someone got the Resize function of the item_scale working?
-
Someone has the background_image for the costumewindow for me?
Didn´t found it somewhere.Solved.
- 1
-
Hey.
I got an Question.
Someone of you ever managed to attach an PART, for example PART_HAIR to an specified Bone before entering the game?
Because ingame it is quite easy.
chrmgr.RegisterAttachingBoneName(chr.PART_NEW, "Bip01 Spine2")but that isnt load at charselect.
-
The Source is public
-
If you want, look at my C++ Shop.
I am Selling a whole Ingame Channel Switcher System that works Server based and its just like you warp from map 1 to map 2.
Video for it coming soon
-
-
Load the Txt File Line by Line, Convert each Line to an int and after that overwrite the used EXP Table.
Or do it like me --> Mysql Query
- 1
How To Strip your Own Core
in Guides & HowTo
Posted
add to the makefile command -s and win...
no need for use strip