Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Fiesta Online
You last visited: Today at 07:31

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

Advertisement



Pinescript question

Discussion on Pinescript question within the Fiesta Online forum part of the MMORPGs category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jul 2009
Posts: 7
Received Thanks: 0
Pinescript question

Hello, I recently been trying to learn pinescript and its going relatively well. I gotten the basics down but the one thing that confuse the **** out of me is how the loops and interrupts work.

From other scripts I seen it seem you add an infinite loop that waits for an interrupt and then call said interrupt arg which make sense. However it seem each interrupt will only ever be called once and never again after that. So this works for instances where its a 1 way trip.

However I'm trying to code for an field map, aka a raid boss. Now in my mind (I do have programming experience) I would basically set up a infinite loop that constantly find the boss and place it in a handle, then have interrupts set up for when it reaches ay 80/60/40/20% hp and those interrupt will call functions that will do what needs to be done. Because if its an infinite loop then even if the boss reset or dies and new one spawns it will keep doing the same thing over and over again.

But what I found out is that everything only runs ones, even if its set in a infinite loop or a never ending while loop the findhandle only ever run once, the interrupts only ever run once and until the map is reset they will never work again. So does anyone know if its possible to do what I'm attempting to do, because its like one of the first concept you learn in programing but it doesn't seem to work here =\

Also some where people said you can use C# in the script, anyone know if thats true if so how much? Thanks for any help guys and here sample code of what I tried with the loop.

infinite
open
interruptclear all.
findhandle BossHandle "KHeartless" 0.
interruptset HPLow "" 1 BossHandle 990 "onBossHP99".

infinite
open
waitinterrupt InterruptBlock "InterruptArg".
call InterruptBlock.
close.
close
rexzshadow is offline  
Old 05/21/2015, 18:41   #2
 
fanke2250's Avatar
 
elite*gold: 0
Join Date: Feb 2011
Posts: 217
Received Thanks: 101
I don´t know what you want, my english is bad xD
But if you want to spawn Mobs by low HP, I have a Script for you, you musst adjust that Script.
fanke2250 is offline  
Old 05/21/2015, 20:15   #3
 
elite*gold: 0
Join Date: Jul 2009
Posts: 7
Received Thanks: 0
Quote:
Originally Posted by fanke2250 View Post
I don´t know what you want, my english is bad xD
But if you want to spawn Mobs by low HP, I have a Script for you, you musst adjust that Script.
I want it to work on a non-instance map for a raid boss.
rexzshadow is offline  
Reply


Similar Threads Similar Threads
pinescript schleifen problem
05/24/2015 - Fiesta Online - 10 Replies
und zwar hab ich eine spawn schleife die nur 3-4 mal funktioniert dannach passiert nix mehr bis zum nachsten restart wo is der fehler open var InterruptBlock "" InterruptArg "" Boss ""
PineScript Hilfe
04/04/2015 - Fiesta Online - 0 Replies
Hallo und zwar wollte ich fragen, wie man eine neue Stage aktiviert wenn man drei Items aufsammelt und die von Monstern random droppen würden. Danke im Vorraus
Day & Night | PineScript
02/23/2015 - Fiesta Online - 13 Replies
open var InterruptBlock 1 InterruptArg 2. interruptclear all. interruptset admin "" 1 "". scriptfile "Adl_Town". infinite open waitinterrupt InterruptBlock "InterruptArg".
Hilfe bei Pinescript
02/06/2015 - Fiesta Online - 4 Replies
Da ich echt kaum Ahnung von Pinescript habe, bräuchte ich mal Hilfe. Ich lass via mobregen nen Mob auf der Map erscheinen. Ich möchte nun nen Timer starten, wenn der Mob während der Zeit erfolgreich gekillt wird soll ein "questresult Suc." kommen, wird der Mob nicht während der Zeit gekillt ein "questresult Fail." Ich krieg es hin das der Mob spawnt, das der Timer läuft und auch das nach der Zeit ein "questresult" ausgespuckt wird, allerdings wird das "questresult" nicht davon abhängig ob...
Dauerschleife Pinescript
08/19/2014 - Fiesta Online - 2 Replies
Sup Ich versuche gerade in meiner Instanz Perma-Spawn-Monster einzufügen^^ also wenn der eine Monster stirbt, dann erscheint sofort ein anderer, jedoch hört das auf nach 4 durchgängen. Weiß einer wieso? Hier ist code: open regengroup "Wtf01" "RandomBoss". call "RegenBoss". close



All times are GMT +1. The time now is 07:31.


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.