Crashing at skin selection
#1

Heyy Guys,


Edit: Found out that it was because of linux, now to fix it


The server that I own keeps crashing at the skin selection screen. I have had very good scripters look at it and the script itself has no errors but when you /login and pick go through the skins it crashes. Either way you go, left or right.

Here is the error log:

Exception At Address: 0x00719176

Registers:
EAX: 0xFFFFFF00 EBX: 0x00BAAF00 ECX: 0x0022FC38 EDX: 0x000000B3
ESI: 0x0022FC56 EDI: 0x00233FFF EBP: 0x0022FC3C ESP: 0x0022FBC8
EFLAGS: 0x00210297

Stack:
+0000: 0x00BAAFD5 0x00000000 0x00000000 0x00000000
+0010: 0x00000000 0x00000000 0x00000000 0x00000000
+0020: 0x00000000 0x0071A2C9 0x0022FC56 0x0022FC38
+0030: 0x00000001 0x0022FC13 0x43C80000 0x42A0B6DC
+0040: 0x773A95A1 0x00BAAFC0 0x79C08000 0x440F7000
+0050: 0x4388E000 0x00000001 0x41D20000 0x00000003
+0060: 0x42F78000 0x440F7000 0x00000000 0xFFF1CBAC
+0070: 0x00000001 0x537E797E 0x20656469 0x65725028
+0080: 0x6D75696D 0x6C6F4720 0x6E4F2064 0x217E796C
+0090: 0x41592700 0x40000000 0x00BA873E 0xF4A460FF
+00A0: 0x773A95A1 0x00000001 0x0058B2D3 0x00000000
+00B0: 0x44EACABB 0xC4AC89A3 0x415927CE 0x452879FC
+00C0: 0xC4D51604 0x412D8106 0x3FAB6DB7 0x4340DB6F
+00D0: 0x4326124A 0x00000000 0xFF000000 0x0022FCE0
+00E0: 0x00000000 0x050D4CF8 0x04335EC0 0x00000010
+00F0: 0x044313E0 0x71F69FC1 0x00000000 0x0022FCD4
+0100: 0x00725BF5 0x00020001 0x41600000 0xC4D51604
+0110: 0x40000000 0x000000FF 0x00000000 0x00000000
+0120: 0x0000004C 0x00000800 0x3E4CCCCD 0x00000001
+0130: 0x00000000 0x00000000 0x00000000 0x00000000

SCM Op: 0x248, L: 0, Dump:
+0000: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+0010: 00 00 00 00 3F 20 FC 02 00 00 00 00 00 00 00 00
+0020: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+0030: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+0040: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+0050: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+0060: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+0070: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+0080: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+0090: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00A0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00B0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
+00C0: 00 00 00 00 00 01 00 00 00 00 00 00 00 00 00 00
+00D0: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00

Game Version: US 1.0

State Information: L: 0 N: 0


Please Help
James
Reply
#2

Invalid skin id probably.

You can implent this:
pawn Код:
IsValidSkin(skinid)
{
  #define   MAX_BAD_SKINS 22
  new badSkins[MAX_BAD_SKINS] =
  { 3, 4, 5, 6, 8, 42, 65, 74, 86, 119, 149, 208, 268, 273, 289 };
  if (skinid < 0 || skinid > 299) return false;
  for (new i = 0; i < MAX_BAD_SKINS; i++) { if (skinid == badSkins[i]) return false; }
  #undef MAX_BAD_SKINS
  return 1;
}
Reply
#3




Quote:

IsValidSkin(skinid)
{
#define MAX_BAD_SKINS 22
new badSkins[MAX_BAD_SKINS] =
{ 3, 4, 5, 6, 8, 42, 65, 74, 86, 119, 149, 208, 268, 273, 289 };
if (skinid < 0 || skinid > 299) return false;
for (new i = 0; i < MAX_BAD_SKINS; i++) { if (skinid == badSkins[i]) return false; }
#undef MAX_BAD_SKINS
return 1;
}


My scripters are offline, How do I implement this?, What does it do? (Obisilly I can script and have pawno, dont explain that)
Reply
#4

It checks if skin is valid. Since you are using skin selection make sure that you don't put any of the skin ids stated there.
Reply
#5

Sorry forgot to add that it dosent do it to some poeple. Thats important i dunno how I forgot to put that.
Reply
#6

Anyone?, I'mlosing people for my server.
Reply
#7

Maybe a problem with the Scriptfiles?
Reply
#8

Thats What I'm thinking now, But like I said it runs perfect on my own PC.

Could also be because the server hoster uses Linux
Reply
#9

Quote:
Originally Posted by jamesb93
Thats What I'm thinking now, But like I said it runs perfect on my own PC.

Could also be because the server hoster uses Linux
Make sure about capital letters, since in linux A is not the same as a, while in windows everything is the same.
Reply
#10

What do I need to edit in the script for it to work?

the incudes?
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)