Jump to content

Error


Arsilex

Recommended Posts

Posted

mira al iniciar el script me saca el rank de todos los que estan online

pero si por ejemplo el que tiene rank 8 se va el que tenia rank 9 se le pone 8 yo lo k kiero es que no se le ponga 8 hasta que pase el exp del otro

rsilex.png.0e6ad382b3fdc3cbe6390e3e847572c9.png
Posted

Decis que se auto refresque?

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

no no yo le puse un timer para que se auto refresque lo que digo es que si por el ejemplo yo tengo rank 1 y otra perosona rank 2

esto lo que haces es que cuando yo salga al rank 2 se le pone 1 y cuando entre de nuevo se le vuelve al 2

lo que yo kiero es que si el rank 2 tiene 2000 exp y el rank 1 tiene 2500 hasta que el rank 2 no llegue a 2501 no se le ponga rank 1

rsilex.png.0e6ad382b3fdc3cbe6390e3e847572c9.png
Posted

La verdad es que sigo sin entender.

Si player 1 tiene 2500 de exp y player 2 tiene 2000, obvio que player 1 sera rango 1.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

si si lo yo intento explicarte es que

Si ahora hay 2 player en un server uno con 2500 y otro con 2000

lo que hace el script ahora es que cuando el player con 2500 salga

al player 2 se le cambia el rank de 2 al 1 por que no hay mas exp a comprarar

Lo que yo kiero es que cuando el player 1 se valla al player 2 no se le cambie el rank hasta que no llegue a tener mas exp que el player 1

rsilex.png.0e6ad382b3fdc3cbe6390e3e847572c9.png
Posted

Ah, ahora entiendo, pero para eso vas a tener que editar el script, para que guarde la experiencia siguiente o algo asi.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

No se, la unica manera seria guardar cada cuenta y su experiencia en una tabla al iniciar y loguearse un jugador, y luego tendrias que hacer un for-loop, pero eso podria laguear al servidor.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

No necesariamente MySQL.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

Posted

MySQL te daria mucho mas lag.

San Andreas Utopia RPG (SAUR) Owner & Developer.

560x95_FFFFFF_FF9900_000000_000000.png

Education is the most powerful weapon which you can use to change the world.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...