CLEO Help help with mod crash

CLEO related

Happy_999

Member
Joined
Nov 13, 2021
Messages
13
Reaction score
0
Location
United Arab Emirates
hi, I'm currently having an issue with this mod DigiInfo .cs it just keeps crashing.

1 week before on my PC, it was working absolutely fine with the latest Samp and Cleo version but for some reason, it stopped working and kept crashing the game while loading

even tried the Cleo 4.3 but nothing changes still crashing

Can help ???

SA-MP 0.3.7-R5
Exception At Address: 0x182CE068
Base: 0x03D90000

Registers:
EAX: 0x00000000 EBX: 0x633F22A0 ECX: 0x0F963420 EDX: 0x00000000
ESI: 0x0F963420 EDI: 0x633F22A0 EBP: 0x0177FD64 ESP: 0x0177FD44
EFLAGS: 0x00010246

Stack:
+0000: 0x63384B5B 0x0FAC51A0 0x0F963420 0x00000001
+0010: 0x00000000 0x182CE068 0x0F963420 0x633F22A0
+0020: 0x76B17E50 0x00469FF7 0x0F963420 0x0F963420
+0030: 0x00000000 0x6338ECC3 0x0F963420 0x0046A220
+0040: 0x00000001 0x00863B10 0x76B17E50 0x00000000
+0050: 0x00000000 0x00863B10 0x015655FA 0x00A49960
+0060: 0x0053BCCE 0x0000000A 0x0053E593 0x00863B10
+0070: 0x00748D50 0x76920D00 0x00000000 0x0177FF70
+0080: 0x0028E000 0x01870000 0x00000008 0x01870ED8
+0090: 0x00000008 0x00000100 0x00000008 0x00000102
+00A0: 0x44700000 0x44070000 0x00000000 0x00000000
+00B0: 0x00000780 0x00000438 0x00000000 0x0177FE3C
+00C0: 0x0007079E 0x00000113 0x00004242 0x00000000
+00D0: 0x14B8E7AA 0x000003BC 0x0000021C 0x0000002C
+00E0: 0x0177FE14 0x00825EE4 0x0177FF60 0x00825EE4
+00F0: 0x00000000 0x0028E000 0x00821D57 0x00835382
+0100: 0x00000065 0x0177FF70 0x00824731 0x00400000
+0110: 0x00000000 0x01BF3667 0x0000000A 0x00000094
+0120: 0x00000006 0x00000000 0x00001770 0x00000002
+0130: 0x00000000 0x00000000 0x00000000 0x00000000
+0140: 0x00000000 0x00000000 0x00000000 0x00000000
+0150: 0x00000000 0x00000000 0x00000000 0x00000000
+0160: 0x00000000 0x00000000 0x00000000 0x00000000
+0170: 0x00000000 0x00000000 0x00000000 0x00000000
+0180: 0x00000000 0x00000000 0x00000000 0x00000000
+0190: 0x00000000 0x00000000 0x00000000 0x00000000
+01A0: 0x00000000 0x00000000 0x00000000 0x008245C8
+01B0: 0x008245B0 0x008245B0 0x0028E000 0xC0000005
+01C0: 0x00000000 0x01BF3667 0x00000044 0x01C01CF8
+01D0: 0x01C06330 0x01C15080 0x00000000 0x00000000
+01E0: 0x00000000 0x00000000 0x00000000 0x00000000
+01F0: 0x00000000 0x00000000 0x00000000 0x00000000
+0200: 0xFFFFFFFF 0xFFFFFFFF 0xFFFFFFFF 0x00000000
+0210: 0x00000000 0x0177FE60 0x0177F0C4 0x0177FFCC
+0220: 0x00825EE4 0x00888078 0x00000000 0x0177FF80
+0230: 0x7691FCC9 0x0028E000 0x7691FCB0 0x0177FFDC
+0240: 0x77E97B1E 0x0028E000 0xA12DEF19 0x00000000
+0250: 0x00000000 0x0028E000 0x00000000 0x00000000
+0260: 0x00000000 0x00000000 0x00000000 0x00000000
+0270: 0x00000000 0x00000000 0x00000000 0x00000000

SCM Op: 0x0, lDbg: 0 LastRendObj: 0

Game Version: EU 1.0


I have 2 more questions, I don't want to make another thread for it so I will ask them here only

1st: How to rename a Cleo file ( by just right click and rename it or something else ??? )

2nd: How to change the activation key ( like after entering the new virtual key in Sanny Builder, what is the next step, How do I save it ?? )
 

Attachments

  • DigiInfo v1.3.rar
    25.7 KB · Views: 6

dphome

Well-known member
Joined
Mar 21, 2020
Messages
475
Solutions
9
Reaction score
168
Location
Poland
1. Simply rename DigiInfo.cs/.ini to AnyName.cs/.ini, then open the script in Sanny Builder and replace "cleo\DigiInfo.ini" with "cleo\YourName.ini".
2. The script doesn't require activation... It runs automatically.
 

Attachments

  • DigiInfo.cs
    26.5 KB · Views: 4
  • DigiInfo.ini
    455 bytes · Views: 2

dphome

Well-known member
Joined
Mar 21, 2020
Messages
475
Solutions
9
Reaction score
168
Location
Poland
I checked it and it works great, no crashes. The problem is something in your GTA folder.
 

Happy_999

Member
Joined
Nov 13, 2021
Messages
13
Reaction score
0
Location
United Arab Emirates
I have a similar cleo script it has the ( HP, Armour & vehicle HP indicator ) but It doesn't have the stamina/Sprint indicator

If u can edited the script and add the stamina/Sprint option like other numbers and place it above the the armour number with the blue color ( like in the img )

IMG_20230831_201608.png
 

Attachments

  • Status_Indicators.cs
    17.7 KB · Views: 2

dphome

Well-known member
Joined
Mar 21, 2020
Messages
475
Solutions
9
Reaction score
168
Location
Poland
Delete post before.

Done.
PHP:
:STATUS_INDICATORS_242
0226: 1@ = actor $PLAYER_ACTOR health 
03F0: enable_text_draw 1 
0349: set_text_draw_font 3 
03E4: set_text_draw_align_right 1 
033F: set_text_draw_letter_size 0.3 1.1 
0340: set_text_draw_RGBA 180 25 29 255 
081C: draw_text_outline 1 RGBA 0 0 0 255 
045A: draw_text_1number 635.0 65.0 GXT 'NUMBER' number 1@  // ~1~
0AB1: @sprint 0 3@
0092: 3@ = float 3@ to_integer
0349: set_text_draw_font 3 
03E4: set_text_draw_align_right 1 
033F: set_text_draw_letter_size 0.3 1.1 
0340: set_text_draw_RGBA 63 72 204 255 
081C: draw_text_outline 1 RGBA 0 0 0 255 
045A: draw_text_1number 635.0 21.0 GXT 'NUMBER' number 3@  // ~1~
0002: jump @STATUS_INDICATORS_36 

:sprint
0A8D: 0@ = read_memory 0xB7CDB4 size 4 virtual_protect 0
0@ /= 31.47000244
0@ += 4.0
0@ *= 0.9615384615384615 
0A8D: 1@ = read_memory 0xB7CDE0 size 4 virtual_protect 0
1@ /= 39.97000244
    if and
    1@ > 99.0
    8965:   actor $PLAYER_ACTOR swimming
    80DF:   actor $PLAYER_ACTOR driving
    then
    0485:  return_true
    else
    059A:  return_false
    end
0AB2: ret 1 0@
 

Attachments

  • Status_Indicators.cs
    21.3 KB · Views: 5

Happy_999

Member
Joined
Nov 13, 2021
Messages
13
Reaction score
0
Location
United Arab Emirates
Delete post before.

Done.
PHP:
:STATUS_INDICATORS_242
0226: 1@ = actor $PLAYER_ACTOR health
03F0: enable_text_draw 1
0349: set_text_draw_font 3
03E4: set_text_draw_align_right 1
033F: set_text_draw_letter_size 0.3 1.1
0340: set_text_draw_RGBA 180 25 29 255
081C: draw_text_outline 1 RGBA 0 0 0 255
045A: draw_text_1number 635.0 65.0 GXT 'NUMBER' number 1@  // ~1~
0AB1: @sprint 0 3@
0092: 3@ = float 3@ to_integer
0349: set_text_draw_font 3
03E4: set_text_draw_align_right 1
033F: set_text_draw_letter_size 0.3 1.1
0340: set_text_draw_RGBA 63 72 204 255
081C: draw_text_outline 1 RGBA 0 0 0 255
045A: draw_text_1number 635.0 21.0 GXT 'NUMBER' number 3@  // ~1~
0002: jump @STATUS_INDICATORS_36

:sprint
0A8D: 0@ = read_memory 0xB7CDB4 size 4 virtual_protect 0
0@ /= 31.47000244
0@ += 4.0
0@ *= 0.9615384615384615
0A8D: 1@ = read_memory 0xB7CDE0 size 4 virtual_protect 0
1@ /= 39.97000244
    if and
    1@ > 99.0
    8965:   actor $PLAYER_ACTOR swimming
    80DF:   actor $PLAYER_ACTOR driving
    then
    0485:  return_true
    else
    059A:  return_false
    end
0AB2: ret 1 0@


hi, the script is working now and the stamina numbers are coming but there is 1 problem

As I get the armour the stamina number just disappears
( posted images )
01.PNG

02.PNG
 

dphome

Well-known member
Joined
Mar 21, 2020
Messages
475
Solutions
9
Reaction score
168
Location
Poland
My version of DigiInfo.cs is without encryption and should work without any issues. There seems to be something wrong with your game installation. It's best to install a clean full version of the game, add SA:MP, CLEO, and try running the game.
 

Happy_999

Member
Joined
Nov 13, 2021
Messages
13
Reaction score
0
Location
United Arab Emirates
My version of DigiInfo.cs is without encryption and should work without any issues. There seems to be something wrong with your game installation. It's best to install a clean full version of the game, add SA:MP, CLEO, and try running the game.
Idk maybe it my pc problem bczz I'm using the same game files samp and cleo version on my laptop and on there it works without any issue, I will try different game version on pc sometime and see if it works or not

Till then I will use the status indicator, thx too u for helping me get the sprint in it to

You can close the thread, solved
 
Top