Jump to content

PACI

Miembro
  • Contador contenido

    501
  • Ingreso

  • Última visita

  • Días ganados

    58

Todo lo publicado por PACI

  1. Defensa contra gongs? .. Campanas. No leí el post entero, pero igual necesita mas correcciones.
  2. Te equivocaste en el titulo del post
  3. Impide golpearse, cierto, pero no sacarse daño, esa comprobación se debe hacer en el servidor.
  4. PACI

    [Duda]

    Los eventos de login y logout no soportan estados suspendidos. En otras palabras, no puedes utilizar las funciones: wait(), select() y cualquier otra que necesite una respuesta por parte del jugador.
  5. Todo lo que has puesto ahí relacionado con item sobra, no tiene sentido alguno. Defines un pointer al último item seleccionado por el jugador y no lo usas.
  6. Estos efectos se unen al Bip01 del modelo. Abre el msm de ese NPC, busca donde este definido eso y prueba cambiarle su posición desde ahí (z-axis).
  7. Me gusta la presentación, bien hecho!
  8. Ostias love cuanto tiempo, qué te cuentas? Suerte en esas ventas!
  9. Le sobra un end donde la comprobación del estado del evento. El tercero cierra el state. Además, debeis usar number, y no math.random a secas - sin hacerle seed primero.
  10. Con cualquiera, me refiero a cualquiera que cree un tema. No tiene sentido. Los moderadores tienen el deber de poner orden cuando es necesario. Que un post no sea de tu agrado no te da el derecho de borrarlo.
  11. Por que no tiene sentido. Cualquiera podria borrar cualquier post que no sea de su agrado, aun que sirva de aviso para los demás miembros del foro.
  12. Pero si tú mismo has puesto ahí la solución. A saber que te has fumao.
  13. No tienes pq agregar las funciones al quest_functions. El qc te avisa que hay funciones que no existen en ese archivo, la quest se compila igual.
  14. First of all, put yourself in the players' position. How annoying would that be? Like, as soon as you enter any kind of games all you wanna do is to play instantly. But let's suppose, for instance, that what I said before ain't a problem. I'm gonna guess this is a way to somehow avoid cheating and it will prompt the code window only one time per login*. Now, there're a few easy ways to bypass it. As long as you enter the code, it (kinda) unlocks the character, so it will be able to play without limitations, right? Here, you can: - Enable whatever your hack is, after successfuly entering the generated code; - Build a simple python-script to brute-force the code until the right one is found. Considering it only has 5 digits and all of them are numbers, that would be pretty easy. *I just replayed the video, and I've seen an interesting system message (Time expired. You have to set the code.). In that case, there you can see where the annoying part comes from once again (apart from what I said in the first line of this post).
  15. Yeah don't get me wrong, but I find these things useless and annoying af.
  16. local data = { -- Mapa x y Lvl Gold Item {"Thunder", 11664, 16779, 80, 10000000, 27992}, {"Cape", 11043, 17885, 90, 20000000, 27993}, {"Nephrite", 10963, 16744, 100, 30000000, 27994}, } local options = {} for i = 1, table.getn(data) do table.insert(options, data[i][1]) end table.insert(options, "Cancelar") local sel = select_table(options) if sel == table.getn(options) return end local minLevel = data[sel][4] local neededGold = data[sel][5] local neededItem = data[sel][6] if pc.get_level() < minLevel then say("no level") return elseif pc.get_gold() < neededGold then say("no gold") return elseif pc.count_item(neededItem) < 1 then say("no item") return end pc.change_gold(- neededGold) pc.warp(data[sel][2] * 100, data[sel][3] * 100) Así también igual te sirve, como te parezca más facil.
  17. (204800, 486400, (2048 + 1420) * 100, (4864 + 1438) * 100)
  18. purge_area(baseX, baseY, baseX + maxX, baseY + maxY)
  19. dejo ejemplos en lua y python: bVar = True print "true condition sentence" if bVar else "false condition sentence" > "true condition sentence" bVar = false print(bVar and "true condition sentence" or "false condition sentence") > "false condition sentence" nota: en python también se puede utilizar el and/or.
×
×
  • Crear nuevo...