A program to save all chatlog in a single file, like s0beit.

Status
Not open for further replies.

abc..

Active member
Joined
Feb 18, 2013
Messages
42
Reaction score
0
I need a program that saves all the chatlog of sa-mp in a single file, like s0beit.
 

NewbieWannaBE

Active member
Joined
Jul 3, 2013
Messages
182
Reaction score
0
Re: A program to save all chatlog in a single file, like s0b

You dont even need a program , go to DocumentsGTA San Andreas User FilesSAMP and open chatlog
 

abc..

Active member
Joined
Feb 18, 2013
Messages
42
Reaction score
0
Re: A program to save all chatlog in a single file, like s0b

You dont even need a program , go to DocumentsGTA San Andreas User FilesSAMP and open chatlog
The chatlog will be overwritten after I relog.
I need a file as mod_sa_chatbox_all
 

Opcode.eXe

Expert
Joined
Feb 18, 2013
Messages
1,486
Reaction score
227
Location
( ͡° ͜ʖ ͡°)
Re: A program to save all chatlog in a single file, like s0b

I can make a CLEO for that... but why dont you just use sobeit?
 

abc..

Active member
Joined
Feb 18, 2013
Messages
42
Reaction score
0
Re: A program to save all chatlog in a single file, like s0b

I can make a CLEO for that... but why dont you just use sobeit?
I copy and paste parts of old chat to so many people, and every time they ask me how do I get all these chats ... who uses s0beit tells me that they know how i have all these chat, and there is the risk of being banned, because there is no program that saves all chats (excluding s0beit.)
 

Opcode.eXe

Expert
Joined
Feb 18, 2013
Messages
1,486
Reaction score
227
Location
( ͡° ͜ʖ ͡°)
Re: A program to save all chatlog in a single file, like s0b

Bawhwha i tried to use one damn sampfunc opcode so that the .log file doesnt get spammed but i failed.. the fucking opcode makes me crazy but anyways heres the spam version ..:

{$CLEO .cs}
THREAD "CHATLOG"
0662: NOP "www.youtube.com/OpcodeXe"
if
8AF7: get_samp_base_to 0@
then
0A93: end_custom_thread
end
repeat
wait 400
until 0AFA: is_samp_structures_available

0A9A: 31@ = openfile "CLEOChatLog.log" mode "at" // IF and SET

0AD9: write_formatted_text "%s%c" in_file 31@ " " 10
0AD9: write_formatted_text "%s%c" in_file 31@ " " 10
0AD9: write_formatted_text "%s%c" in_file 31@ " " 10
0AD9: write_formatted_text "%s%c" in_file 31@ " " 10
0AD9: write_formatted_text "%s%c" in_file 31@ "------ NEW LOGGING SESSTION STARTED ------" 10
0AD9: write_formatted_text "%s%c" in_file 31@ " " 10
0AD9: write_formatted_text "%s%c" in_file 31@ " " 10
0AD9: write_formatted_text "%s%c" in_file 31@ " " 10
0AD9: write_formatted_text "%s%c" in_file 31@ " " 10

WHILE TRUE
wait 0
0AB1: call @getChatEntryText 1 id 99 to 1@
0AD9: write_formatted_text "%s%c" in_file 31@ 1@ 10
END


:getChatEntryText
1@ = samp.Base()
1@ += 0x212A24 // SAMP_CHAT_INFO_OFFSET 03x
0A8D: 1@ = read_memory 1@ size 4 virtual_protect 0
1@ += 0x136
0@ *= 252 // size of stChatEntry
005A: 1@ += 0@ // (int)
1@ += 28
0AB2: ret 1 1@
 

Attachments

  • ChatLog.cs
    17.5 KB · Views: 48

spirifix

Active member
Joined
Apr 11, 2013
Messages
82
Reaction score
0
Re: A program to save all chatlog in a single file, like s0b

With this program, every time your game closes, the chatlog is backed up into a default folder or a set folder by the user. You may tick whether or not to save chatlogs, with the 'Save on quit' option, and you may choose to save to the folder you set or not with the 'Use user-set folder' option. If you have ticked the user-set folder option, and the folder doesn't exist, it will automatically save to the default folder. The default folder is created when the program starts to save settings to. The chatlog is saved to a folder labelled with the date it was created (Ex: 15-8-2013), and the name of the text document is the time it was created (Ex: 20.35.00) (It would be 15/8/2013 or 20:35:00 but windows doesn't allow characters like that). When you minimize the program, it is sent to the system tray so it's not in your task bar, just double click the icon in your system tray to open it again.

http://www.mediafire.com/download/424u0 ... ogSave.exe
WikNAcS.png


-credits go to Drunny
 

Z0DY

Well-known member
Joined
Feb 20, 2013
Messages
225
Reaction score
0
Re: A program to save all chatlog in a single file, like s0b

Bawhwha i tried to use one damn sampfunc opcode so that the .log file doesnt get spammed but i failed.. the fucking opcode makes me crazy but anyways heres the spam version ..:

{$CLEO .cs}
THREAD "CHATLOG"
0662: NOP "www.youtube.com/OpcodeXe"
if
8AF7: get_samp_base_to 0@
then
0A93: end_custom_thread
end
repeat
wait 400
until 0AFA: is_samp_structures_available

0A9A: 31@ = openfile "CLEOChatLog.log" mode "at" // IF and SET

0AD9: write_formatted_text "%s%c" in_file 31@ " " 10
0AD9: write_formatted_text "%s%c" in_file 31@ " " 10
0AD9: write_formatted_text "%s%c" in_file 31@ " " 10
0AD9: write_formatted_text "%s%c" in_file 31@ " " 10
0AD9: write_formatted_text "%s%c" in_file 31@ "------ NEW LOGGING SESSTION STARTED ------" 10
0AD9: write_formatted_text "%s%c" in_file 31@ " " 10
0AD9: write_formatted_text "%s%c" in_file 31@ " " 10
0AD9: write_formatted_text "%s%c" in_file 31@ " " 10
0AD9: write_formatted_text "%s%c" in_file 31@ " " 10

WHILE TRUE
wait 0
0AB1: call @getChatEntryText 1 id 99 to 1@
0AD9: write_formatted_text "%s%c" in_file 31@ 1@ 10
END


:getChatEntryText
1@ = samp.Base()
1@ += 0x212A24 // SAMP_CHAT_INFO_OFFSET 03x
0A8D: 1@ = read_memory 1@ size 4 virtual_protect 0
1@ += 0x136
0@ *= 252 // size of stChatEntry
005A: 1@ += 0@ // (int)
1@ += 28
0AB2: ret 1 1@

maybe i think false but this will spam the chatlog with the last chat entry ^^
 
Joined
Feb 18, 2005
Messages
2,963
Reaction score
267
Re: A program to save all chatlog in a single file, like s0b

Use 0c14, and also if you go alt/tab it won't log anything(like samp chatlog does).

p.s: SESSION
 

abc..

Active member
Joined
Feb 18, 2013
Messages
42
Reaction score
0
Re: A program to save all chatlog in a single file, like s0b

Thank you, problem solved.
 

Opcode.eXe

Expert
Joined
Feb 18, 2013
Messages
1,486
Reaction score
227
Location
( ͡° ͜ʖ ͡°)
Re: A program to save all chatlog in a single file, like s0b

Use 0c14, and also if you go alt/tab it won't log anything(like samp chatlog does).

p.s: SESSION

Yah i know its SESSION.. and 0C14 is a nigga opcode that -
 

Kovwal

Active member
Joined
Sep 8, 2013
Messages
74
Reaction score
1
Re: A program to save all chatlog in a single file, like s0b

Opcode i just love how you use the word : nigger :3
 
Status
Not open for further replies.
Top