Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Silkroad Online > SRO Coding Corner
You last visited: Today at 17:07

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

Advertisement



[NSremu (my edited emu)] Coding Help

Discussion on [NSremu (my edited emu)] Coding Help within the SRO Coding Corner forum part of the Silkroad Online category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jun 2009
Posts: 322
Received Thanks: 286
[NSremu (my edited emu)] Coding Help

Hello all, so first thanks to all admins for make this corner xD

Im editing DSREMU last Source code for a week +/-, and i got some ideas and stuff xD.

First i think about making a NPC auto Spawn when server starts so i check the code for the NPC and they arE:

Code:
Call HotanNpc(index)
Call JanganNpc(index)
Call DowhangNpc(index)

So i say: "hum so easy, form load xD" but it doesnt work..

So i check and that code is in a function.
My idea is to make a call for a function that im gonna create just for this code.


PS: i check the rules, and i dont understand the part that it says i can ask for help for code but not for programs?
If my topic is Off-rule please delete it, and sorry :S


Screens:

vpegas1234 is offline  
Old 10/18/2010, 17:16   #2
 
chea77er's Avatar
 
elite*gold: 12
Join Date: Oct 2009
Posts: 290
Received Thanks: 194
Why you want use Functions like HotanNpc() JanganNpc() .. You can use Media.Pk2/Textdata/../npcpos.txt There are all Monsters and NPCs + Positions.

So you can write a little Parser for the file. And add all Spawns to a List. And use the List for youre Spawn Logic.
chea77er is offline  
Thanks
2 Users
Old 10/18/2010, 17:18   #3
 
elite*gold: 0
Join Date: Jun 2009
Posts: 322
Received Thanks: 286
WTF. WHY NO ONE TOLD ME THAT ITS SO THAT FREAKIN EASY???
hey can you teach me doing that or be my partner xD?
vpegas1234 is offline  
Old 10/18/2010, 17:23   #4
 
chea77er's Avatar
 
elite*gold: 12
Join Date: Oct 2009
Posts: 290
Received Thanks: 194


This "npcpos.txt" is in a CSV Format. In .NET you can parse every line via. String.Split('\t');

Look here for the npcpos ->
chea77er is offline  
Thanks
1 User
Old 10/18/2010, 17:25   #5
 
elite*gold: 0
Join Date: Jun 2009
Posts: 322
Received Thanks: 286
hum, if i understood that, you are saying that only vb.net emus can read it? thats bad news...
theres no other way?
vpegas1234 is offline  
Old 10/18/2010, 17:27   #6
 
chea77er's Avatar
 
elite*gold: 12
Join Date: Oct 2009
Posts: 290
Received Thanks: 194
Nope thats not what i said

You can parse them in every language. Just Google: {YourLanguage} CSV Files
chea77er is offline  
Thanks
1 User
Old 10/18/2010, 17:29   #7
 
elite*gold: 0
Join Date: Jun 2009
Posts: 322
Received Thanks: 286
but how to make the emu read it and spawn them on these locations?
vpegas1234 is offline  
Old 10/18/2010, 17:33   #8
 
lesderid's Avatar
 
elite*gold: 0
Join Date: Dec 2007
Posts: 2,400
Received Thanks: 1,517
Quote:
Originally Posted by chea77er View Post
Nope thats not what i said

You can parse them in every language. Just Google: {YourLanguage} CSV Files
Indeed. A quick google brings me to this: .
This is for Visual Basic 6 only.
lesderid is offline  
Thanks
1 User
Old 10/19/2010, 19:26   #9
 
elite*gold: 0
Join Date: Jun 2009
Posts: 322
Received Thanks: 286
@ontopic (to lesderid) : so, thanks for the link, but how can i make my emu read it and spawn the NPC on theire spots just reading that crapy file xD?
PS: its applyed to mobs too?

@offtopic (to lesderid too) : i try to play Csro but when it loads that "load screen" in chinese b4 the user input it crashes.. do u know why? xD


thanks all, i will cred all people who helped.
vpegas1234 is offline  
Old 10/21/2010, 22:01   #10
 
elite*gold: 0
Join Date: Mar 2009
Posts: 2,693
Received Thanks: 3,160
hey vpegas look interface look rlly ugly (if you need my suggestions)

you can make menu with this control panel
LastThief is offline  
Old 10/21/2010, 22:18   #11


 
Yo123's Avatar
 
elite*gold: 41
Join Date: Nov 2007
Posts: 3,385
Received Thanks: 2,700
csro has other opcodes + a security system called rdm + a way more updated client.....
Yo123 is offline  
Old 10/22/2010, 22:36   #12
 
elite*gold: 0
Join Date: Jun 2009
Posts: 322
Received Thanks: 286
@lastthief
lol, im gonna improve the visual part, now im more busy with adding fkin autospawn, you said that u gonna help me and u can see that ur in cred page xD
When u are thinking say xDDD

@yo123
i check ur emu, but i cant understand the vb.net emu yet.. but thanks again (i dont know if you were talkin about that emu that u release here xd but if yes cool )
vpegas1234 is offline  
Old 10/22/2010, 22:44   #13
 
elite*gold: 0
Join Date: Mar 2009
Posts: 2,693
Received Thanks: 3,160
im still figuring out how to add it
LastThief is offline  
Old 10/22/2010, 23:04   #14
 
elite*gold: 0
Join Date: Jun 2009
Posts: 322
Received Thanks: 286
ah sorry, :S but thanks for the help =D

everyone who wanna join our "clan" is fine for me.
vpegas1234 is offline  
Reply


Similar Threads Similar Threads
*NEW CODING ART!!!..........:::::~WhiteLight D3D~:::::..........*NEW CODING ART!!!
09/21/2010 - WarRock Hacks, Bots, Cheats & Exploits - 25 Replies
http://250kb.de/u/100911/p/m4buevNCZhoQ.PNG Download: Multiupload.com - upload your files to multiple file hosting sites! VirusScan: VirusTotal - Free Online Virus, Malware and URL Scanner Funktionen: SuperJump Teleport NoSpread NoRecoil
[PSF] EDITED Barny - Wallhack Working Again with Bypass Edited C++
12/04/2009 - Soldier Front Hacks, Bots, Cheats & Exploits - 61 Replies
ANNOUNCEMENT: Gusto ko lang po na ipaalam sa inyong lahat na ang new Bypass po And Edited DLL na ito ay hindi galing kay BARNY,Sariling Sikap po namin Para muling mapagana ang DLL na ng-Galing Sakanya! Hello Philippines and Hello World!Medyo natagalan din bago namin napagana ulit to,kaya Bago ko po i release ang Password nito... A simple "Thank-You" would be nice to all who download as I Bypass this for 2 Weeks and put a lot of work in to it thanks! Magtataka kayo kasi 1.7MB ang Size...



All times are GMT +1. The time now is 17:08.


Powered by vBulletin®
Copyright ©2000 - 2026, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

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