Register for your free account! | Forgot your password?

Go Back   elitepvpers > Metin2 > Metin2 PServer - Discussions / Questions > Metin2 PServer Guides & Strategies
You last visited: Today at 04:30

  • Please register to post and access all features, it's quick, easy and FREE!

 

[TUT][Diff][1875][2019][2089]Changing time of removing items thrown on the ground

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Feb 2011
Posts: 26
Received Thanks: 70
Thumbs up [TUT][Diff][1875][2019][2089]Changing time of removing items thrown on the ground

Hallo, today I want to share with you my new dif. This dif changes time of deleting items on the ground thrown by players or allows to disable it. The items will be on the ground forever then And i want to say to you one tip :> Locale strings there is information that items thrown on the ground will be removed after 3 minutes, but it's always 300 sec, and it's 5 minutes either! In this dif I will change it to 1 minute :>


Dif - disabled removing items thrown on the ground by player (they stay there forever if someone doesn't pick it up) [GAME 2019]:
Code:
This difference file has been created by IDA Pro

game
0004CE6B: E8 B8

Dif - changed removing thrown items on the ground by player to 1 minute [GAME 2019]:
Code:
This difference file has been created by IDA Pro

game
0004CE64: 2C 3C
0004CE65: 01 00
I'll now explain how to add your own time to remove items. 2C 01 in game = 01 2C in normal hexi (reversing bytes rule) = 300 in dec - there are standard seconds, it's 5 minutes. I wanted to set it up to 1 minute, so in Windows calc I wrote in dec 60, chenged view to hex and it showed me up 3C. Old time was in 2 bytes, so whSo now we got 3C 00 and we write just like this into game =)



Dif - disabled removing items thrown on the ground by player (they stay there forever if someone doesn't pick it up) [GAME 1875]:
Code:
This difference file has been created by IDA Pro

game
0004C8C1: E8 B8

Dif - changed removing thrown items on the ground by player to 1 minute [GAME 1875]:
Code:
This difference file has been created by IDA Pro

game
0004C8BA: 2C 3C
0004C8BB: 01 00


Dif - disabled removing items thrown on the ground by player (they stay there forever if someone doesn't pick it up) [GAME 2089]:
Code:
This difference file has been created by IDA Pro

game
0004D0AB: E8 B8

Dif - changed removing thrown items on the ground by player to 1 minute [GAME 2089]:
Code:
This difference file has been created by IDA Pro

game
0004D0A4: 2C 3C
0004D0A5: 01 00


Source:
PHP Code:
    {
      if ( (
unsigned __int8)LC_IsYMIR(v41) )
        
CItem::AttrLog(v8);
      
v21 = (char *)locale_find((unsigned int)&unk_833EAD0);
      
CHARACTER::ChatPacket(a11v21v29);
      
CItem::StartDestroyEvent(v23v22v17300);
      if ( !
singleton<ITEM_MANAGER>::ms_singleton )
        
__assert("instance""../../common/singleton.h"26);
      
v24 0;
      
ITEM_MANAGER::FlushDelayedSave(singleton<ITEM_MANAGER>::ms_singletonv17);
      
v25 = *(_DWORD *)(v17 68);
      if ( 
v25 )
        
v24 = *(_DWORD *)v25;
      
v26 CItem::GetCount(v17);
      
snprintf(&v350x21u"%s %u %u", *(_DWORD *)(v17 68) >= 1u ? *(_DWORD *)(v17 68) + 29 0v26v24);
      if ( !
singleton<LogManager>::ms_singleton )
        
__assert("instance""../../common/singleton.h"26);
      
LogManager::ItemLog(singleton<LogManager>::ms_singletona1v17, (int)"DROP", &v35);
      
v5 1;
    }
  } 



adriank14101 is offline  
Thanks
28 Users
Old   #2
 
elite*gold: 0
Join Date: Dec 2008
Posts: 2,801
Received Thanks: 1,499
#edit: jetzt hab ichs kapiert

gut gegen die pfeilwerfer oder pottwerfer hacks


.Colossus. is online now  
Old   #3
 
elite*gold: 0
Join Date: Aug 2011
Posts: 313
Received Thanks: 152
Your DIFs are good
.Waschbecken is offline  
Old   #4
 
elite*gold: 0
Join Date: Jun 2011
Posts: 278
Received Thanks: 718
nais one ^^


Ace Armani is offline  
Old   #5
 
elite*gold: 337
Join Date: Feb 2008
Posts: 2,754
Received Thanks: 1,746
Quite helpful, didn't know this yet. Thanks.

But one question anyway: is in the C-Code the following code (especially the 300) the time? "CItem::StartDestroyEvent(v23, v22, v17, 300); "

@Colossus:
Das ist nur für Items die Spieler runterwerfen, also gut gegen irgendwelche Bots die deinen Server töten wollen. Der Dropp von Monstern ändert sich dabei nicht.

@Ace Armani & Waschbecken:
Nen Druck auf "Thanks" tuts auch
Computerfreek is offline  
Old   #6

 
elite*gold: 15
Join Date: Feb 2010
Posts: 4,414
Received Thanks: 3,104
Quote:
Originally Posted by Computerfreek View Post
Quite helpful, didn't know this yet. Thanks.

But one question anyway: is in the C-Code the following code (especially the 300) the time? "CItem::StartDestroyEvent(v23, v22, v17, 300); "
So wie ich das jetzt sehe, sollte es die Zeit sein, ja.
.Hazel is offline  
Old   #7
 
elite*gold: 0
Join Date: Feb 2011
Posts: 26
Received Thanks: 70
Quote:
Originally Posted by .Waschbecken View Post
Your DIFs are good
Quote:
Originally Posted by Ace Armani View Post
nais one ^^
Thank you very much

Quote:
Originally Posted by Computerfreek View Post
Quite helpful, didn't know this yet. Thanks.

But one question anyway: is in the C-Code the following code (especially the 300) the time? "CItem::StartDestroyEvent(v23, v22, v17, 300); "

@Colossus:
Das ist nur für Items die Spieler runterwerfen, also gut gegen irgendwelche Bots die deinen Server töten wollen. Der Dropp von Monstern ändert sich dabei nicht.

@Ace Armani & Waschbecken:
Nen Druck auf "Thanks" tuts auch
Yes, in this source, 300 is the time in seconds.
adriank14101 is offline  
Old   #8
 
elite*gold: 0
Join Date: Feb 2011
Posts: 4
Received Thanks: 2
How to dump r2089 game files?
Lenassart is offline  
Old   #9
 
elite*gold: 0
Join Date: Feb 2011
Posts: 26
Received Thanks: 70
Quote:
Originally Posted by Lenassart View Post
How to dump r2089 game files?
Lol, I don't know what do you mean... Dumping 2089 game? WTF?
adriank14101 is offline  
Old   #10
 
elite*gold: 0
Join Date: Jan 2010
Posts: 1,915
Received Thanks: 538
so 10 seconds would be

game
0004CE64: 2C 3C
0004CE65: 00 10

? XD
'oShet is offline  
Old   #11
 
elite*gold: 0
Join Date: Jun 2011
Posts: 69
Received Thanks: 79
Quote:
Originally Posted by 'oShet View Post
so 10 seconds would be

game
0004CE64: 2C 3C
0004CE65: 00 10

? XD
10 00
TenmaPL is offline  
Old   #12
 
elite*gold: 0
Join Date: Jul 2008
Posts: 1,812
Received Thanks: 1,972
Quote:
Originally Posted by TenmaPL View Post
10 00
This difference file has been created by IDA Pro

game
0004D0A4: 2C 3C
0004D0A5: 01 00


But this is one Minute dif ... speak 01 00
why believe then your dif 10 00 is it then not 10 Minutes ?
Or just how u said 10 Seconds ?
~LuckyStrike~ is offline  
Old   #13
 
elite*gold: 0
Join Date: Jan 2010
Posts: 1,915
Received Thanks: 538
but 1 minute has 60 seconds thatswhy im not sure
'oShet is offline  
Old   #14
 
elite*gold: 0
Join Date: Jun 2011
Posts: 69
Received Thanks: 79
Quote:
Originally Posted by ~LuckyStrike~ View Post
This difference file has been created by IDA Pro

game
0004D0A4: 2C 3C
0004D0A5: 01 00


But this is one Minute dif ... speak 01 00
why believe then your dif 10 00 is it then not 10 Minutes ?
Or just how u said 10 Seconds ?
lol

0004D0A4: 2C 10
0004D0A5: 00 00
TenmaPL is offline  
Old   #15
 
elite*gold: 0
Join Date: Jan 2010
Posts: 1,915
Received Thanks: 538
0004D0A4: 2C 10
0004D0A5: 00 00

^thats 10 minutes?

ahh now I understand. Thank you

2C 01 <-- 1 minutes
2C 02 <-- 2 minutes

3C 10 <-- 10 seconds

3C 01 <-- 1 second

3C 30 <-- 30 seconds

is that right?


'oShet is offline  
Reply

Tags
1875, 2019, 2089, diff, game



« Previous Thread | Next Thread »

Similar Threads
Gamefile Tool game 1765 , 2019 , 2089
Hey Leute habe vor mein Game File tool pub zu machen Morgen Braucht ihr Noch Irgentwelche Funktionen drine bis jetzt kann es << Pong Ändern <<...
36 Replies - Metin2 PServer - Discussions / Questions
[TUT][Diff][1875][2019][2089]Exp losing after death
Hallo all epvp community. Today I was looking for something interesting in gamefile and I did it. It's dif that allows to change how much % you will...
5 Replies - Metin2 PServer Guides & Strategies
is changing what items appear like on the ground enough to get banned?
What i mean is theres edits out there to show you the item quality (Ex. a super tornado will show up as a big S on the gound or w/e can tq game check...
2 Replies - CO2 Main - Discussions / Questions
need help changing the way the item looks on the ground
i need help changeing Moss, DreamGrass, and SoulAroma the way they look on the ground i tryed just making a dds with file named 722723, 722724, and...
0 Replies - CO2 Main - Discussions / Questions
Changing ground textures?
Hey guys, I really hope you can help with this. I want to change the textures of some of the ground in WoW, like done in this video: ...
4 Replies - WoW Ask the Experts



All times are GMT +1. The time now is 04:30.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Abuse
Copyright ©2017 elitepvpers All Rights Reserved.