SA-MP Forums

Go Back   SA-MP Forums > SA-MP Scripting and Plugins > Gamemode Scripts

Reply
 
Thread Tools Display Modes
Old 27/09/2019, 10:57 AM   #91
pichai1122
Little Clucker
 
Join Date: May 2008
Posts: 6
Reputation: 12
Default Re: San Fierro Cops And Robbers

It's work fine.
pichai1122 is offline   Reply With Quote
Old 13/10/2019, 04:14 PM   #92
Kathleen
Huge Clucker
 
Kathleen's Avatar
 
Join Date: May 2012
Location: Netherlands
Posts: 203
Reputation: 27
Default Re: San Fierro Cops And Robbers

Nice source, works great.
Kathleen is offline   Reply With Quote
Old 14/10/2019, 11:02 PM   #93
PT
Godfather
 
PT's Avatar
 
Join Date: Nov 2012
Location: Europe
Posts: 7,168
Reputation: 801
Default Re: San Fierro Cops And Robbers

Lorenc my friend..

This gamemode in SA-MP history is very important

It's a legend your work and you. Glad to see your legacy in this mode we all love it.

Cheers bro
PT is offline   Reply With Quote
Old 01/11/2019, 05:18 AM   #94
DJ_Shocker
Huge Clucker
 
Join Date: Jul 2012
Posts: 426
Reputation: 42
Default Re: San Fierro Cops And Robbers

I did everything exactly, connected to database, NPC's connect, but the server suddenly shuts down with no error logs, all plugins running.
Running on windows at the moment for a test.
__________________
DJ_Shocker is offline   Reply With Quote
Old 02/11/2019, 03:01 AM   #95
DJ_Shocker
Huge Clucker
 
Join Date: Jul 2012
Posts: 426
Reputation: 42
Default Re: San Fierro Cops And Robbers

I'm unsure of what to do here. The server closes when it reaches "Boxing system by Damon" I've tried both Linux and Windows.
__________________
DJ_Shocker is offline   Reply With Quote
Old 02/11/2019, 08:07 PM   #96
DJ_Shocker
Huge Clucker
 
Join Date: Jul 2012
Posts: 426
Reputation: 42
Default Re: San Fierro Cops And Robbers

Alright, so I've narrowed it down to SOMETHING with FCNPC.
Code:
=========================== FCNPC Exception Handler ============================
Address: 0x491902

Registers:
EAX: 0x1b010000 - EBX: 0x251b - ECX: 0x509f4637 - EDX: 0x7f000000
ESI: 0x1f3 - EDI: 0x1f3 - EBP: 0x19fb14 - ESP: 0x19f9b5

Stack:
0x0: 0x509f4637 - 0x4: 0x19fb - 0x8: 0xff000000 - 0xC: 0x10000ff - 0x10: 0xe00019fa - 0x14: 0x7f000000
0x18: 0x1b010000 - 0x1C: 0xc8000025 - 0x20: 0x809fa69

Information:
  System: Windows
  SA-MP: 0.3.7 R2
  FCNPC: 1.8.2

Functions:
  FUNC_CPlayerPool__DeletePlayer: 0x466570
  FUNC_CPlayer__Kill: 0x484620
  FUNC_CPlayer__EnterVehicle: 0x484c70
  FUNC_CPlayer__ExitVehicle: 0x484f50
  FUNC_CPlayer__SpawnForWorld: 0x486d30
  FUNC_GetVehicleModelInfo: 0x488240
  FUNC_CConsole__GetIntVariable: 0x48b5b0
  FUNC_ClientJoin_RPC: 0x4918f0

Pointers:
  VAR_ServerAuthentication: 0x4f5fe8
  VAR_NetVersion: 0xfd9

Offsets:
  OFFSET_RemoteSystemManager: 0x33c
  OFFSET_RemoteSystemSize: 0xcb8
  OFFSET_RemoteSystem__ConnectMode: 0xcb0
  OFFSET_RemoteSystem__Unknown: 0xcb5
=========================== FCNPC Exception Handler ============================
Anyone successfully got this running that could shed some light on this?
__________________
DJ_Shocker is offline   Reply With Quote
Old 03/11/2019, 04:09 PM   #97
penaut
Little Clucker
 
penaut's Avatar
 
Join Date: Jan 2016
Posts: 36
Reputation: 0
Default Re: San Fierro Cops And Robbers

Hello, I'm having the same problem as others. Could anyone help, or give me a hint? I don't mind fixing it myself, but I just don't know where to start.
Code:
irresistible\cnr\features\visage\poker.pwn(55) : error 012: invalid function call, not a valid address
irresistible\cnr\features\visage\poker.pwn(55) : error 035: argument type mismatch (argument 4)
irresistible\cnr\features\visage\poker.pwn(55) : error 029: invalid expression, assumed zero
irresistible\cnr\features\visage\poker.pwn(55) : fatal error 107: too many error messages on one line
Code:
stock SetPlayerChatBubbleEx(playerid, color, Float:drawdistance, expiretime, const format[], va_args<>)
{
	return SetPlayerChatBubble(playerid, va_return(format, va_start<5>), color, drawdistance, expiretime);
}
penaut is offline   Reply With Quote
Old 03/11/2019, 06:24 PM   #98
Musab56
Little Clucker
 
Join Date: Mar 2019
Posts: 23
Reputation: 0
Default Re: San Fierro Cops And Robbers

would you like to collect the mode
Musab56 is offline   Reply With Quote
Old 03/11/2019, 06:58 PM   #99
DJ_Shocker
Huge Clucker
 
Join Date: Jul 2012
Posts: 426
Reputation: 42
Default Re: San Fierro Cops And Robbers

Quote:
Originally Posted by penaut View Post
Hello, I'm having the same problem as others. Could anyone help, or give me a hint? I don't mind fixing it myself, but I just don't know where to start.
Code:
irresistible\cnr\features\visage\poker.pwn(55) : error 012: invalid function call, not a valid address
irresistible\cnr\features\visage\poker.pwn(55) : error 035: argument type mismatch (argument 4)
irresistible\cnr\features\visage\poker.pwn(55) : error 029: invalid expression, assumed zero
irresistible\cnr\features\visage\poker.pwn(55) : fatal error 107: too many error messages on one line
Code:
stock SetPlayerChatBubbleEx(playerid, color, Float:drawdistance, expiretime, const format[], va_args<>)
{
	return SetPlayerChatBubble(playerid, va_return(format, va_start<5>), color, drawdistance, expiretime);
}
Change
pawn Code:
return SetPlayerChatBubble(playerid, va_return(format, va_start<5>), color, drawdistance, expiretime);

to

pawn Code:
return 0; // SetPlayerChatBubble(playerid, va_return(format, va_start<5>), color, drawdistance, expiretime);

That will fix it. However, I can't seem to get past the server crashes. The server crashed right after it loads boxing and I can't figure out what is causing it. If you're able to, please let me know and what versions (Windows/Linux) and what versions your plugins/includes are. I've been fighting this for 4 days now.
__________________
DJ_Shocker is offline   Reply With Quote
Old 03/11/2019, 07:44 PM   #100
Musab56
Little Clucker
 
Join Date: Mar 2019
Posts: 23
Reputation: 0
Default

would you like to collect the mode

I wonder what the distress is here

Code:
----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3.7-R2, (C)2005-2015 SA-MP Team

[20:38:54] 
[20:38:54] Server Plugins
[20:38:54] --------------
[20:38:54]  Loading plugin: crashdetect
[20:38:54]   CrashDetect plugin 4.19.4
[20:38:54]   Loaded.
[20:38:54]  Loading plugin: mysql
[20:38:54]  >> plugin.mysql: R39-6 successfully loaded.
[20:38:54]   Loaded.
[20:38:54]  Loading plugin: gvar
[20:38:54] 

*** GVar Plugin v1.3 by Incognito loaded ***

[20:38:54]   Loaded.
[20:38:54]  Loading plugin: regex
[20:38:54] 


[20:38:54] ______________________________________


[20:38:54]  Regular Expression Plugin v0.2.1 loaded
[20:38:54] ______________________________________


[20:38:54]  By: Fro (c) Copyright <TBG> 2009-2011
[20:38:54] ______________________________________


[20:38:54]   Loaded.
[20:38:54]  Loading plugin: sscanf
[20:38:54] 

[20:38:54]  ===============================

[20:38:54]       sscanf plugin loaded.     

[20:38:54]          Version:  2.8.2        

[20:38:54]    (c) 2012 Alex "******" Cole  

[20:38:54]  ===============================

[20:38:54]   Loaded.
[20:38:54]  Loading plugin: streamer
[20:38:54] 

*** Streamer Plugin v2.9.3 by Incognito loaded ***

[20:38:54]   Loaded.
[20:38:54]  Loading plugin: Whirlpool
[20:38:54]  
[20:38:54]  ==================
[20:38:54]  
[20:38:54]   Whirlpool loaded
[20:38:54]  
[20:38:54]  ==================
[20:38:54]  
[20:38:54]   Loaded.
[20:38:54]  Loading plugin: FCNPC
[20:38:54] 
[20:38:54] -------------------------------------------------
[20:38:54]      FCNPC - Fully Controllable NPC v1.8.2
[20:38:54]          Windows SA-MP 0.3.7 R2
[20:38:54]           Jan  8 2018 at 01:14:48
[20:38:54] 
[20:38:54]   Author:       OrMisicL (2013 - 2015)
[20:38:54]   Continued by: ziggi (2016 - present)
[20:38:54]   Contributors: kurta999, Neutralneu
[20:38:54] -------------------------------------------------
[20:38:54] 
[20:38:54] Loading...
[20:38:54]   Loaded.
[20:38:54]  Loading plugin: RouteConnectorPlugin
[20:38:54]   Loaded.
[20:38:54]  Loading plugin: sampcac_server
[20:38:54]   SA-MP Clientside AntiCheat v0.10.0 is being loaded ...
[20:38:54]   Loaded.
[20:38:54]  Loading plugin: MapAndreas
[20:38:54]   Loaded.
[20:38:54]  Loading plugin: TPoker
[20:38:54] **plugin: TPoker by ThreeKingz was successfully loaded! ** 
[20:38:54]   Loaded.
[20:38:54]  Loading plugin: MerRandom
[20:38:54] Plugin MerRandom v2.1 - by Cyber_Punk got loaded.
[20:38:54]   Loaded.
[20:38:54]  Loading plugin: FileManager
[20:38:54] ******************
[20:38:54] ** FILE MANAGER **
[20:38:54] **    Loaded    **
[20:38:54] ** Version 1.5 **
[20:38:54] ******************
[20:38:54]   Loaded.
[20:38:54]  Loading plugin: nativechecker
[20:38:54]   Loaded.
[20:38:54]  Loaded 15 plugins.

[20:38:54] 
[20:38:54] Filterscripts
[20:38:54] ---------------
[20:38:54]   Loading filterscript 'sampcac_testscript.amx'...
[20:38:54] AMX (24278688) loaded
[20:38:54]   SAMPCAC test filterscript loaded.
[20:38:54]   Loaded 1 filterscripts.

[20:38:54] AMX (24184192) loaded
[20:38:54]    Error: Function not registered: 'gps_OnPlayerConnect'
[20:38:54]    Error: Function not registered: 'gps_OnPlayerDisconnect'
[20:38:54] [debug] Run time error 19: "File or function is not found"
[20:38:54] [debug]  gps_OnPlayerConnect
[20:38:54] [debug]  gps_OnPlayerDisconnect
[20:38:54] [debug] Run time error 19: "File or function is not found"
[20:38:54] [debug]  gps_OnPlayerConnect
[20:38:54] [debug]  gps_OnPlayerDisconnect
[20:38:54] Script[gamemodes/sf-cnr.amx]: Run time error 19: "File or function is not found"
[20:38:54] Number of vehicle models: 0

Last edited by dugi; 05/11/2019 at 04:27 PM.
Musab56 is offline   Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
[GameMode] San Fierro Cops-Robbers-RPG v1.0 Stevo127 Gamemode Scripts 1476 06/02/2019 12:56 PM
[GameMode] San Fierro Cops and Robbers (Getting started) PatrickGTR Gamemode Scripts 14 10/03/2018 09:29 AM
[HELP]San Fierro Cops N Robbers GM Problems Gamo Server Support 5 19/05/2013 02:28 PM
[GameMode] San Fierro Cops And Robbers Angeloxs Server Support 7 06/07/2012 02:17 PM
San fierro cops and robbers? Add a team ! Vestax Scripting Help 0 14/01/2012 10:26 AM


All times are GMT. The time now is 11:56 PM.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.