Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Fiesta Online
You last visited: Today at 10:36

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

Advertisement



ODIN | Removing item using .ps script.

Discussion on ODIN | Removing item using .ps script. within the Fiesta Online forum part of the MMORPGs category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Oct 2014
Posts: 16
Received Thanks: 5
ODIN | Removing item using .ps script.

Hello!

I've been working with pinescript and tried using the pinescript command (itemerase) to delete a specific item. After the script runs, the zone crashes where the instance is running on when it hits the part where itemerase comes.

Anyone knowing a solution to this? itemcreate works without issues when we renamed it, itemerase crashes the zone without an error.

Instance code:

Download link of the script:

Thanks in Advance!
Markiiee is offline  
Old 10/06/2016, 10:04   #2
 
elite*gold: 0
Join Date: May 2013
Posts: 705
Received Thanks: 255
Remove the fk handle then it should work.

Btw ur ps changes looks badass and a few useless . Like, a man just write any **** in this ps and look what happen..
*Kaito is offline  
Thanks
1 User
Old 10/06/2016, 19:23   #3
 
Craineya's Avatar
 
elite*gold: 0
Join Date: May 2014
Posts: 33
Received Thanks: 25
Kaito der Gott ist wieder am Start!! Kappa
Craineya is offline  
Thanks
2 Users
Old 10/06/2016, 19:43   #4
 
elite*gold: 70
Join Date: Mar 2011
Posts: 571
Received Thanks: 251
storing the playerhandles in five variables just to delete them one by one later...

the magic word is: "all" (itemerase all "ItemInx".)


the "waitlogin" is missing too...
so the script don't wait for players and just execute until the infinite loop is waiting for interrupt events.

so in my eyes the script is searching for players, maybe found one and the other findhandles fail. then you try to erase items from "null" variables (idk wether the response of a failed findhandle is really "null" or something else)
maybe this is the reason for the crash, not sure.

as Kaito said, please clean ur code, its poisioning our eyes^^
dragonhunter09 is offline  
Thanks
2 Users
Old 10/06/2016, 23:19   #5
 
elite*gold: 0
Join Date: Oct 2014
Posts: 16
Received Thanks: 5
The script was a basic DT script, with itemerase added. I'll check what you said in a minute and get back at you if it worked!

Also, we try to only remove one of the (for example) stackrd item which is 10. Like; you have 10 items, after you entered you only have 9 left.

And sorry for the bad code maybe, getting my way to still learn PS.
Markiiee is offline  
Thanks
1 User
Old 10/07/2016, 09:39   #6
 
elite*gold: 0
Join Date: May 2013
Posts: 705
Received Thanks: 255
Quote:
Originally Posted by Craineya View Post
Kaito der Gott ist wieder am Start!! Kappa
Für dich noch immer vater mein sohn.
*Kaito is offline  
Thanks
1 User
Old 10/07/2016, 23:17   #7
 
elite*gold: 0
Join Date: Oct 2014
Posts: 16
Received Thanks: 5
The pinescript got changed, But currently it removes All the items that have that Inx name.

How to make it so it only removes one of that item, instead of (for example) all 5?

Current code:
Markiiee is offline  
Old 10/07/2016, 23:52   #8
 
elite*gold: 70
Join Date: Mar 2011
Posts: 571
Received Thanks: 251
itemerase all "TokenDT" 1.
dragonhunter09 is offline  
Old 10/08/2016, 08:59   #9
 
elite*gold: 0
Join Date: Oct 2014
Posts: 16
Received Thanks: 5
Tried that, still removes all items in the inventory with that inx.
Markiiee is offline  
Old 10/08/2016, 12:38   #10
 
elite*gold: 0
Join Date: May 2013
Posts: 705
Received Thanks: 255
add me on skype. sykaito
*Kaito is offline  
Old 10/09/2016, 22:05   #11
 
elite*gold: 0
Join Date: Sep 2013
Posts: 562
Received Thanks: 361
Quote:
Originally Posted by dragonhunter09 View Post
itemerase all "TokenDT" 1.
Exactly tried that and a lot of other things along time ago but didn't get
it working. Maybe a bug within the zone or maybe it can't handle the third
argument.

Is that exactly something you got running?
D0n! is offline  
Old 10/09/2016, 23:13   #12
 
elite*gold: 70
Join Date: Mar 2011
Posts: 571
Received Thanks: 251
Quote:
Originally Posted by D0n! View Post
Is that exactly something you got running?
I dunno, thought it'll work... saw it with content search in scripts but never tried^^ just found a project with 4 different itemInx so maybe I had the same problem a long time ago.

in newer server I suggest lua, the lua function can substract one and it's possible to check wether the item is deletable or not (for those who want to log their cheeetaas^^)

As u said, the third parameter could be missing in the zone...
dragonhunter09 is offline  
Reply


Similar Threads Similar Threads
Odin files - Item ungivable
08/24/2016 - Fiesta Online - 6 Replies
Hey guys, I added some items on my server (weapon, set...etc) They work correctly but now when i add again (for exemple a new weapon) We can see the item in ItemInfo, ItemInfoServer and ItemViewInfo but I can't give the item in my inventory. I tried to use the same texture of an other weapon, and use an other ID like 44000 but it is ungivable too. Please can you help me? Thanks you in advance! :handsdown:
(Odin) Item Drop Problem
07/15/2015 - Fiesta Online - 1 Replies
Hallo, und zwar ich habe folgenes Problem ich habe eine Aura geaddet (QQAura) als test ob das Monster droppt, hab die ItemDropGroup und ItemDropTable glaub zwar richtig bearbeitet weil es droppt, aber wenn ich es aufhebe und I drücke bekomme ich direkt ein Disconnect. :confused: Und hat jemand noch die Shine Table Reloaded weil auf ******** sind die links down, danke :) Danke schon mal im voraus und Gute Nacht. :pimp: Assert: 03:10:53 : AssertClass::ac_AssertFail :...
[Dif] Removing one item in the item.remove()
04/21/2013 - Metin2 PServer Guides & Strategies - 3 Replies
Hi! This dif will fix removing all items from the stack if we use item.remove(). Here you are: This difference file is created by The Interactive Disassembler game 001474A0: A1 89 001474A1: D8 34 001474A2: 49 24
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?
[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?



All times are GMT +1. The time now is 10:37.


Powered by vBulletin®
Copyright ©2000 - 2026, 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 ©2026 elitepvpers All Rights Reserved.