L2Tower Discord Let's keep the community alive with discord. Discussions about plugins and scripts L2Tower Discord

Post Reply 
 
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problemas con PvPSuite
Author Message
engelsiwis Offline
Elpy
*

Posts: 3
Joined: Jun 2014
Reputation: 0
Version: 1.4.2.133
Post: #1
Problemas con PvPSuite

Entro y todo va OK, pevepeo un rato y luego salta esto y deja de funcionar el PvPSuite, alguien tiene alguna solución?, Adjunto Screenshot.

Ayudenme amigos Sad

http://prntscr.com/6obbtk
04-01-2015 23:08 PM
Find all posts by this user Quote this message in a reply
rORUMI Offline
Expired VIP Member
**

Posts: 278
Joined: May 2014
Reputation: 50
Version: 1.4.2.142
Post: #2
RE: Problemas con PvPSuite

El error que te esta marcando es que en "algun instante" el target = nil no esperado y obviamente genera un error.

Hay que mirar el codigo y ver como agregar alguna condicion para evitar este problema osea que cuando no hay nada targeteado y estas en pvp mode "que hacer..."
Yo no uso pvpsuite, escribi mi propio codigo, y me pasaba algo parecido que me era imposible contener todas las variables de opciones para que no me caiga un nil y me tire abajo el codigo... hasta que lo solucione con una funcion que me verifica si es posible o no la accion y no dar nil como resultado y listo no se me cayo mas un cliente.
(This post was last modified: 04-02-2015 02:12 AM by rORUMI.)
04-02-2015 02:06 AM
Find all posts by this user Quote this message in a reply
engelsiwis Offline
Elpy
*

Posts: 3
Joined: Jun 2014
Reputation: 0
Version: 1.4.2.133
Post: #3
RE: Problemas con PvPSuite

no logro solucionarlo, he estado toda la tarde en esto y nada, ayudenme Sad
04-02-2015 03:16 AM
Find all posts by this user Quote this message in a reply
rORUMI Offline
Expired VIP Member
**

Posts: 278
Joined: May 2014
Reputation: 50
Version: 1.4.2.142
Post: #4
RE: Problemas con PvPSuite

Te muestro 2 ejemplos de mi codigo para que entiendas que buscar:

1er ejemplo:

Si yo me targeteo a mi mismo... es como poner pausa al bot.. se queda en un bucle esperando 10 segundos para verificar que hacer despues... una y otra ves hasta que elija otro objetivo o simplemente elimine el target

    LUA Programming
if (GetTarget() ~= nil) and (GetTarget():IsMe()) then
 if debugMode then debugLog("TakeTarget:","Target is Me, Waiting...") end; 
 
 Sleep(10*1000) -- 10sec
end



2do ejemplo:

Si el target es NIL.. osea nada.. y tengo activado el target x script... llamo a la funcion que busca un nuevo target segun lo tenga configurado.. Que me este atacando a mi o mi party sino que tenga 100% HP y este Mas cerca, etc.

    LUA Programming
if (GetTarget() == nil) then
 if debugMode then debugLog("TakeTarget:"," Target NIL, Taking PVE Target") end;
 targetMonster();
end



Como veras, en el 2do ejemplo, yo le digo al codigo "que hacer" si el target llegara a ser nada...

El debugMode es un metodo propio de comentar el codigo.
04-02-2015 08:27 AM
Find all posts by this user Quote this message in a reply
engelsiwis Offline
Elpy
*

Posts: 3
Joined: Jun 2014
Reputation: 0
Version: 1.4.2.133
Post: #5
RE: Problemas con PvPSuite

Lo intentaré apenas llegue del trabajo en unas 10 hroas más jaja, haber si puedo solucionarlo y poder poder pevepear tranquilo Sad
04-02-2015 11:15 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  problemas para cargar el bot en interlude Mutami 8 9,950 08-29-2017 23:48 PM
Last Post: elpressel
F.A.Q. Guia Tower Problemas y Soluciones e info critica spitfirelmd 27 25,079 07-30-2017 09:17 AM
Last Post: azact
  Problemas con el Game Guard lenrry13@gmail.com 0 2,288 01-26-2017 08:01 AM
Last Post: lenrry13@gmail.com
  tengo problemas con la licencia oscarxd 4 6,813 09-04-2016 06:18 AM
Last Post: fanor
  problemas con el Sit, Stand Ashinuma 0 1,460 11-13-2015 21:54 PM
Last Post: Ashinuma
  Problemas al usar L2 Tower en interlude sharcks 2 2,735 10-26-2015 07:37 AM
Last Post: naxodo
  problemas CPU alku 1 1,738 03-06-2015 00:48 AM
Last Post: rORUMI
  Problemas con tower danielx 4 2,836 02-05-2015 23:11 PM
Last Post: erickalisetc
  problemas con el invitar a party savhat 4 2,317 09-17-2014 15:47 PM
Last Post: savhat
  problemas al ejecutar en el server oficial alwe 3 2,280 08-17-2014 04:19 AM
Last Post: spitfirelmd



User(s) browsing this thread: 1 Guest(s)