Register for your free account! | Forgot your password?

You last visited: Today at 03:46

  • Please register to post and access all features, it's quick, easy and FREE!

Advertisement



Sro Chat

Discussion on Sro Chat within the SRO Coding Corner forum part of the Silkroad Online category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Oct 2015
Posts: 6
Received Thanks: 1
Sro Chat

Hello
Can any one help in a simple code of auto reply of global chat ?

for example if sender name is "ABCD" used global chat like "WTB bla bla bla" .. The Tool auto replies in pm and send "ABCD" a message ..

Can any one show an example ?

Its first time to code in ****** /> thanks & sorry for my bad English
MoQue is offline  
Old 11/11/2015, 21:18   #2
 
elite*gold: 150
Join Date: Oct 2007
Posts: 118
Received Thanks: 226
Hi MoQue,

Code:
if (packet.Opcode == 0x3026)
{
	int chat = packet.ReadUInt8();

	switch (chat)
	{
		case 6: //Global
			string name = packet.ReadAscii();
			string message = packet.ReadAscii();
			if(name == "***" && message.StartsWith("WTB"))
			{
				Packet pm = new Packet(0x7025);
				pm.WriteUInt16(02);
				pm.WriteAscii(name);
				pm.WriteAscii("AutoMessage");
				Send(pm);
			}
			break;
	}
}
greetz
Delirus
Delirus is offline  
Old 11/11/2015, 21:26   #3
 
elite*gold: 0
Join Date: Oct 2015
Posts: 6
Received Thanks: 1
Quote:
Originally Posted by Kekskind1992 View Post
Hi MoQue,

Code:
if (packet.Opcode == 0x3026)
{
	int chat = packet.ReadUInt8();

	switch (chat)
	{
		case 6: //Global
			string name = packet.ReadAscii();
			string message = packet.ReadAscii();
			if(name == "***" && message.StartsWith("WTB"))
			{
				Packet pm = new Packet(0x7025);
				pm.WriteUInt16(02);
				pm.WriteAscii(name);
				pm.WriteAscii("AutoMessage");
				Send(pm);
			}
			break;
	}
}
greetz
Delirus
Thanks Kekskind1992

But As I've mentioned , I'm new to programming in ****** /> So i don't know how to use these codes how to send Login , how to use sro packets and know which packet used for what . etc ..
Is there any tutorials for these so that i can use your sample code ?

Thanks again ♥
MoQue is offline  
Old 11/11/2015, 23:43   #4
dotCom
 
Devsome's Avatar
 
elite*gold: 10102
The Black Market: 107/0/0
Join Date: Mar 2009
Posts: 16,988
Received Thanks: 4,710


If you dunno how to modify it, please let it be :3
Devsome is offline  
Old 11/12/2015, 15:52   #5
 
elite*gold: 0
Join Date: Oct 2015
Posts: 6
Received Thanks: 1
Quote:
Originally Posted by Devsome View Post


If you dunno how to modify it, please let it be :3
PM doesn't shown on the listbox , even if i get some
MoQue is offline  
Old 11/13/2015, 19:50   #6
 
elite*gold: 8
Join Date: Sep 2014
Posts: 625
Received Thanks: 178
Sniff the packets, debug the code.
qqdev is offline  
Reply


Similar Threads Similar Threads
[CHAT CLIENT] LoLChat/League Chat Beta V1 for Windows
08/16/2017 - League of Legends Hacks, Bots, Cheats & Exploits - 53 Replies
http://nielsoet.uphero.com/img/logolol.png Hello everyone, This is my second beta version of LoLChat or League Chat. It allows you to chat to your friends on League of Legends without the annoying, big, RAM-taking client. Features: Chat with all your friends See if your friens are offline
[Hilfe]Web Chat, Message beim Chat verlassen
03/17/2014 - Web Development - 3 Replies
Hey @ all, heute Nacht hat mich iwie ne Hummel gestochen, und ich hab kurzerhand mal ne Art Chat erstellt (aktuell noch alles SEHR Beta lastig :D) er funktioniert prinzipiell, fast 100% PHP Based (außer die Aktuallisierung, und 2-3 Spoiler) Nun möchte ich aber 2 Dinge: 1. Anzeige, wie viele Personen sich in einem Chat aufhalten 2. Anzeige/Nachricht, wenn jemand den Chat/Raum verlässt ich würde das Ganze einfach so machen, dass jeder nen Timestamp setzt, und wenn er nimmer antwortet,...
[AutoIt Chat System] Chat nur im lokalen Netzwerk verfügbar. Wie Global?
04/14/2013 - AutoIt - 1 Replies
Hallo epvp. Ich habe mich mal an ein kleines Chatsystem gesetzt. Ich bin jetzt soweit, dass dieses ohne Probleme im lokalen Netzwerk funktioniert. Jedoch möchte ich, dass der Chat auch für Leute die nicht drin sind funktioniert! Mein Server Script: #include <Array.au3> #include <EditConstants.au3> #include <WindowsConstants.au3> #Include <GuiEdit.au3> #include <TCP.au3>
[Release] BoI Helper (Chat Cmd's, Speed/Chat/Zoom hack)
03/01/2011 - Battle of the Immortals - 54 Replies
Hi! First of all, i know this will completely destroy the world chat cuz of colored flasching and flying texts everywhere but anyhow i wanted to release this little tool. I like to use some Chat Commands to color my Text when advertising sales or looking for a party etc. but im too lazy to write the commands for that again and again so i wrote this little Tool that generates the codes i need with a few clicks and puts it into the clipboard =) Features: Color: Give your Text a...
HackSearcher by _TradEmArk_ #Updated Version# [**CHAT ADDET!!!**] (Chat,Crosshair...)
02/27/2011 - WarRock Hacks, Bots, Cheats & Exploits - 14 Replies
http://img3.fotos-hochladen.net/uploads/unbenannt3 5jduc0oz9y.png Screen: http://img3.fotos-hochladen.net/uploads/hacksearc herzgkjdt7h4w.jpg Download: Download über Mediafire Download über Multiupload



All times are GMT +2. The time now is 03:46.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Terms of Service | Abuse
Copyright ©2026 elitepvpers All Rights Reserved.