| Author |
Message |
Forum: General Topic: Hacking Attempt Packet Flooding |
| Avalonia |
|
Posted: Tue Jul 22, 2008 7:35 am
|
|
Replies: 13 Views: 3583
|
| I have a problem that after sometime that i am not able to login anymore and get right when i login a "Packet Flooding" hack attempt. However if you would create a new account and a new char you could login quite fine , it only happens to accounts wich exist for some time and maybe after a... |
|
 |
Forum: General Topic: Subscript out of Range |
| Avalonia |
|
Posted: Sun Jul 20, 2008 5:11 pm
|
|
Replies: 24 Views: 14129
|
| Ok thanks for help , just forgot to update it to all clients , i only had it update in the npceditor, works now like a charm. |
|
 |
Forum: General Topic: Subscript out of Range |
| Avalonia |
|
Posted: Sun Jul 20, 2008 8:24 am
|
|
Replies: 24 Views: 14129
|
| I definitely would not do that. You don't want several players sending dozens of packets a second. Well then i have no idea, it saves it fine in the npceditor when i reopen it it receives the 1 value from the server or the 0 , depending on what i set it ,and in the ini it is also Size = 1. Msgbox(N... |
|
 |
Forum: General Topic: Subscript out of Range |
| Avalonia |
|
Posted: Sun Jul 20, 2008 7:40 am
|
|
Replies: 24 Views: 14129
|
| Well you still need to make sure you're checking if MapNpc().Num > 0...also make sure that the NPC editor is sending the size value right and that it's being sent to the client and that the server is saving and loading it correctly. Saving and loading works fine my code is now this , wich checks al... |
|
 |
Forum: General Topic: Subscript out of Range |
| Avalonia |
|
Posted: Sun Jul 20, 2008 7:28 am
|
|
Replies: 24 Views: 14129
|
nnum = Npc(MapNpc(i).Num).Size
Sorry i meant Npc(MapNpc(i).Num).Size only returns 0 , even though it should be on 1. Have 4 npcs setup with size 1 and 1 with 0
Its 1 in the npc ini file also so that should be fine. |
|
 |
Forum: General Topic: Subscript out of Range |
| Avalonia |
|
Posted: Sun Jul 20, 2008 6:57 am
|
|
Replies: 24 Views: 14129
|
GIAKEN wrote: Check if the MapNpc(i).Num > 0 before using it.
hm MapNpc(i).Num always returns 0 , why doesnt it return the number  |
|
 |
Forum: General Topic: Subscript out of Range |
| Avalonia |
|
Posted: Sun Jul 20, 2008 6:46 am
|
|
Replies: 24 Views: 14129
|
| Want to pass the size variable (used for sprite sizes) wich is a byte to the BltNPC function so i can choose between a few sizes when bliting and blit different if its an other size. Dim sizez as Integer Dim i as Long ' Blit out the npcs For i = 1 To MAX_MAP_NPCS sizez = Npc(MapNpc(i).Num).Size Call... |
|
 |
| Sort by: |