Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

When player is kill


keny
 Share

Recommended Posts

Hi everybody !
I have a problem in server. When player is killed, the server shows this error :

```
TYPE : Indice en dehors de la plage
LINE : 10
COLUMN : 0
CODE :
```
I don't touching the main.txt and the sources of the server.
–---------------------------
Second, I want to ask you a question.
I activate the system "Custom", but I want the player to create his char he has the choice of clothing following her sex.
-----------------------------
EDIT :
Thirdly, I'd be 16 Tiles, but the Editor can display only 10, how to change the number of tiles?

Thank you for your reply.

Excuse me for my English, because I am Algerian …
Link to comment
Share on other sites

Ok.

–-------------
J'ai un problème, quand un joueur est tué par un autre joueur ou un NPC, le serveur bloque et affiche l'erreur suivante :
```
TYPE : Indice en dehors de la plage
LINE : 10
COLUMN : 0
CODE :
```Je n'ai rien toucher au main.txt ou aux sources du serveur, je ne vois pas d'où peut venir l'erreur, depuis tout à l'heure j'essaye de voir se qui cloche avec le Sub OnDeath, mais tout semble normal …
```
Sub OnDeath(Index)
If GetMapBootMap(Index) > 0 Then
Call PlayerWarp(Index, GetMapBootMap(Index), GetMapBootX(Index), GetMapBootY(Index))
Else
Map = CInt(GetVar("Classes\Class" & GetPlayerClass(Index) & ".ini", "CLASS", "Map"))
X = CInt(GetVar("Classes\Class" & GetPlayerClass(Index) & ".ini", "CLASS", "x"))
Y = CInt(GetVar("Classes\Class" & GetPlayerClass(Index) & ".ini", "CLASS", "y"))
        Call PlayerMsg(index, "Vous êtes mort", 3)
Call PlayerWarp(index, Map, X, Y)
End If

Call SetPlayerHP(Target, GetPlayerMaxHP(Target))
Call SetPlayerMP(Target, GetPlayerMaxMP(Target))
Call SetPlayerSP(Target, GetPlayerMaxSP(Target))
Call SendPlayerData(Target)

End Sub
```–---------------------
J'ai aussi une question.
J'ai activé le système qui permet au joueur de choisi la tête, le corps et les jambes du personnage lors de sa création, mais j'ai deux problèmes :
La taille du corps d'origine n'est pas la même que celle de mes vêtements (elle est plus petite)
Et j'aimerai aussi éviter que des petits malins prennent une apparence invisible, ou celle de l'autre sex, donc, j'aimerai que la liste des têtes, vêtements, jambes soient choisi par à port au sex, et afficher une erreur si la tête ou autre est invisible.
----------------------------
Dans l'éditeur, on ne peut avoir que 10tiles, sa me pose problème, vu que j'en ai 16, comment faire pour ajouter les 6 autres ??

----
Merci de vos réponses.
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...