Southclaws / progress2

A SA:MP UI library for rendering progress bars used to visualise all manner of data from health to a countdown timer.
66 stars 64 forks source link

File or Function is not found 0.3.DL #26

Closed R0ot16 closed 5 years ago

R0ot16 commented 5 years ago

Hi, the function CreatePlayerProgressBar have a problem with 0.3.DL, i can't run my server.. When i comment only this function, it's Okay. issue for this ?

Southclaws commented 5 years ago

The textdraw API has not changed in 0.3.DL - afaik, none of the APIs used in this library changed.

R0ot16 commented 5 years ago

Hm..Strange.. First version of Progress work, Possible problem from YSI or logger include in progress2 ?

Southclaws commented 5 years ago

Post your entire log File or Function is not found is unexpected here. It's unlikely 0.3.DL has anything to do with this. You may be missing dependencies if you installed manually without sampctl.

R0ot16 commented 5 years ago

My log:

SA-MP Dedicated Server
----------------------
v0.3.DL-R1, (C)2005-2018 SA-MP Team

[02:18:55] filterscripts = ""  (string)
[02:18:55] 
[02:18:55] Server Plugins
[02:18:55] --------------
[02:18:55]  Loading plugin: mysql
[02:18:55]  >> plugin.mysql: R41-4 successfully loaded.
[02:18:55]   Loaded.
[02:18:55]  Loading plugin: sscanf
[02:18:55] 

[02:18:55]  ===============================

[02:18:55]       sscanf plugin loaded.     

[02:18:55]          Version:  2.8.2        

[02:18:55]    (c) 2012 Alex "Y_Less" Cole  

[02:18:55]  ===============================

[02:18:55]   Loaded.
[02:18:55]  Loading plugin: streamer
[02:18:55] 

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

[02:18:55]   Loaded.
[02:18:55]  Loading plugin: pawn-memory
[02:18:55] ========================
[02:18:55] = Memory access plugin =
[02:18:55] =       Made by BigETI =
[02:18:55] = Loaded!              =
[02:18:55] ========================
[02:18:55]   Loaded.
[02:18:55]  Loading plugin: sampp_server
[02:18:55] [SA-MP+] Loaded
[02:18:55]   Loaded.
[02:18:55]  Loaded 5 plugins.

[02:18:55] [artwork:crc] lvpdpc2.dff CRC = 0xFBD1EA7C
[02:18:55] [artwork:crc] lvpdpc2.txd CRC = 0xDC92731E
[02:18:55] [artwork:crc] lapdpd2.dff CRC = 0xA558D422
[02:18:55] [artwork:crc] lapdpd2.txd CRC = 0xA442E2DA
[02:18:55] [artwork:crc] wuzimu.dff CRC = 0x94B30527
[02:18:55] [artwork:crc] wuzimu.txd CRC = 0xFBA237A9
[02:18:55] [artwork:crc] wallzzz.dff CRC = 0x4BC6EDFF
[02:18:55] [artwork:crc] wallzzz.txd CRC = 0x235E3EEB
[02:18:55] [artwork:crc] Franklin.dff CRC = 0x89009468
[02:18:55] [artwork:crc] Franklin.txd CRC = 0x4F6A1B55
[02:18:55] [artwork:crc] Trevor.dff CRC = 0x55555EB5
[02:18:55] [artwork:crc] Trevor.txd CRC = 0x19DB18F5
[02:18:55] [artwork:crc] Random4.dff CRC = 0x5041FC78
[02:18:55] [artwork:crc] Random4.txd CRC = 0x2951DB4C
[02:18:55] [artwork:crc] MALXPORT.dff CRC = 0x9540F93B
[02:18:55] [artwork:crc] MALXPORT.txd CRC = 0xEC996C0C
[02:18:55] [artwork:crc] eny-sr.dff CRC = 0xBD5C9B64
[02:18:55] [artwork:crc] eny-sr.txd CRC = 0xBDFB2142
[02:18:55] [artwork:crc] female.dff CRC = 0xD193CB4A
[02:18:55] [artwork:crc] female.txd CRC = 0x601C547A
[02:18:55] [artwork:crc] FEMXPORT.dff CRC = 0x8599A69A
[02:18:55] [artwork:crc] FEMXPORT.txd CRC = 0x684CCA21
[02:18:55] 
[02:18:55] Filterscripts
[02:18:55] ---------------
[02:18:55]   Loaded 0 filterscripts.

[02:18:55] Script[gamemodes/root.amx]: Run time error 19: "File or function is not found"
[02:18:55] Number of vehicle models: 0

i just use your include. Progress.inc work, but not Progress2.inc,

Southclaws commented 5 years ago

Ah you're missing crashdetect, which is used by this dependency.