Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Metin2 > Metin2 Private Server > Metin2 PServer Guides & Strategies
You last visited: Today at 08:01

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

Advertisement



[Dif] Removing one item in the item.remove()

Discussion on [Dif] Removing one item in the item.remove() within the Metin2 PServer Guides & Strategies forum part of the Metin2 Private Server category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Sep 2010
Posts: 28
Received Thanks: 23
[Dif] Removing one item in the item.remove()

Hi!
This dif will fix removing all items from the stack if we use item.remove().
Here you are:

HTML Code:
This difference file is created by The Interactive Disassembler

game
001474A0: A1 89
001474A1: D8 34
001474A2: 49 24
001474A3: 4C E8
001474A4: 08 78
001474A5: C7 85
001474A6: 44 FA
001474A7: 24 FF
001474A8: 08 89
001474A9: 00 34
001474AA: 00 24
001474AB: 00 83
001474AC: 00 E8
001474AD: 89 01
001474AE: 74 89
001474AF: 24 44
001474B0: 04 24
001474B1: 89 04
001474B2: 04 E8
001474B3: 24 C9
001474B4: E8 B3
001474B5: 37 FA
001474B6: EB FF
001474B7: FA 90
001474B8: FF 90
001474B9: 89 90
001474BA: 1C 90
001474BB: 24 90
001474BC: E8 90
001474BD: 0F 90
001474BE: 77 90
001474BF: 01 90
001474C0: 00 90
sherer223 is offline  
Thanks
3 Users
Old 04/21/2013, 15:23   #2
 
elite*gold: 0
Join Date: Jan 2011
Posts: 1,297
Received Thanks: 1,295
Very nice thx.

But is there any way to remove items 200 times if need ?

likte item.remove(200) or so ?

So i dont need to write 200x item.remove()
He3o Sippel is offline  
Old 04/21/2013, 15:25   #3

 
iSouli~'s Avatar
 
elite*gold: 258
Join Date: Feb 2011
Posts: 1,405
Received Thanks: 3,502
Quote:
Originally Posted by Sippe! View Post
Very nice thx.

But is there any way to remove items 200 times if need ?

likte item.remove(200) or so ?

So i dont need to write 200x item.remove()
PHP Code:
pc.remove_item(item.get_vnum(), 200oder
pc
.remove_item(item.get_vnum(), pc.count_item(item.get_vnum())) oder
for 1pc.count_item(item.get_vnum()) do
    
item.remove(item.get_vnum())
end 
iSouli~ is offline  
Thanks
2 Users
Old 04/21/2013, 15:38   #4
 
elite*gold: 0
Join Date: Jan 2011
Posts: 1,297
Received Thanks: 1,295
Quote:
Originally Posted by iSouli~ View Post
PHP Code:
pc.remove_item(item.get_vnum(), 200oder
pc
.remove_item(item.get_vnum(), pc.count_item(item.get_vnum())) oder
for 1pc.count_item(item.get_vnum()) do
    
item.remove(item.get_vnum())
end 
Achja die Schleifen gibt es ja noch.

Danke gerade i-wie total verpennt
He3o Sippel is offline  
Reply


Similar Threads Similar Threads
Removing advanced elixirs from destroyed item list
03/05/2013 - SRO Private Server - 2 Replies
Hi there, I guess the thread name is not very detailed and it's kinda not very understandable. Let me explain it abit, for example when player destroys any sox item he got a chance to get an advanced elixir. What I need is to disable this thing, but not to completely remove advanced elixirs from the game. Is it possible to do this?
[Suche] Komplette item.eix/epk, icon.eix/epk, item proto und item list
12/25/2010 - Metin2 Private Server - 6 Replies
Hey =) Wie die Überschrift schon sagt, suche ich eine komplette item.eix/epk, icon.eix/epk, item proto und item list am liebsten noch von den Waffen von .darki und den ganzen neuen Rüstungen/Schilden/Helmen, da ich überhaupt nicht weiß wie man dass zB mit der item proto macht und wenn ich sie einfach nur ersetze, wie zB durch die "Waffen" item proto von .darki sind die ganzen neuen Rüstungen weg .... Ich hoffe irgendjemand könnte das machen, weil es bestimmt nicht nur für mich hilfreich ist...
[hmm? question] removing item lock, client side.
07/21/2009 - CO2 Private Server - 10 Replies
any idea where i'd have to do this? and also how? I hate this, it mainly takes all fun out of pking anymore.. TQ was stupid to implement it. I wanna revert to many older features.. beginning with this :D anyone gotsa idea on this?
Remove/add gems in a item
08/18/2005 - Conquer Online 2 - 2 Replies
Does it work to Remove/add gems in a socket on an item while the item is equppied? and if it does? how do i do it?



All times are GMT +1. The time now is 08:02.


Powered by vBulletin®
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2025 elitepvpers All Rights Reserved.