Register for your free account! | Forgot your password?

Go Back   elitepvpers > Popular Games > Silkroad Online
You last visited: Today at 12:24

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

Advertisement



Which scripting language?

Discussion on Which scripting language? within the Silkroad Online forum part of the Popular Games category.

Reply
 
Old   #1
 
elite*gold: 0
Join Date: Jul 2009
Posts: 7
Received Thanks: 0
Which scripting language?

Hi all!

I would like to know which scripting language would be th ebest for scripting tool (or even a bot) for SRO (or other games).
pls count some pro/cons because i am not really sure which one to choose:

visual basic, c/c++, C#, any other .net language or something else like autoit....

only serious answers pls

and btw: in which language are current bots written in (sbot, sroking, agbot,...) doeas any1 know?
xMankindx is offline  
Old 08/18/2009, 00:21   #2
 
urmomzzz's Avatar
 
elite*gold: 20
Join Date: Jul 2008
Posts: 1,199
Received Thanks: 362
I guess C++ can get the job done... But i'm not an expert. Autoit just sucks to make bots... It's barely impossible lol
urmomzzz is offline  
Old 08/18/2009, 01:03   #3
 
InvincibleNoOB's Avatar
 
elite*gold: 20
Join Date: Mar 2007
Posts: 4,277
Received Thanks: 2,990
You're not looking for a scripting language,you're looking for either unmanaged or managed language that would do the job you're asking for.To answer your question best,it doesn't really matter what language you use,it matters the way you use it.
Your goal is to NOT look at other competitors,instead adding cutting-edge features that lack in their projects makes your project different and therefore(if stable) the best competitor.

An advice is to use up-to-date languages that contain most known new features ,which makes your future as programmer better.Some of them are:

-Generics(templates)
-Regular Expressions
-LINQ
-Lambda expressions
-Iterators
-Anonymous types and methods.

Edit:Use Object Orientated languages.
InvincibleNoOB is offline  
Thanks
1 User
Old 08/18/2009, 01:23   #4

 
elite*gold: 260
Join Date: Aug 2008
Posts: 560
Received Thanks: 3,751
It just depends what your tools are written in and what you are most comfortable with. My tools are mostly all in C++, so I'll be using the scripting language to add scripting support to my projects. Lua is more C oriented so if you know C/C++, it's pretty easy to pickup. It's similar to PHP in a sense too.

With well design tools though, you can use anything really. I'm working on rewriting my lightweight generic Silkroad proxy that runs in C++ and will take care of all the security stuff and the login/world server transition packets. With that program, you can use any language to write a clientless program as long as it supports sockets. I've already made test programs in C#, Autoit, and C++ and a friend has used VB.net and Java to test it. It's really simple and easy to use and will allow development to be more less complicated in other languages. That is what you are after really, 1-2 combos of "smart" programs.

For the more heavyweight version which will support plugins and whatnot, I'll be using Lua to interface user scripts with the system. However, I might also check out as well since it's supposed to offer some good features as well. I've not really learned the language, but it comes highly recommended and a lot of games use it as well.

So, client modification based tools are best done in C/C++/ASM for an injected DLL, if you just want to write client patches anything that can use Win32 API is fine. For network based proxies, anything works, but higher level languages offer solutions that require less code. For scripting, take a look into Lua and Python. For utilities, any .Net based language will work really nicely due to how big the library is. Autoit does has its uses, but unless you are writing pixel bots or tasks to automate keystrokes, I'd not try to use it for packet based stuff.

The key is not as much as "theoretical performance" but rather "practical implementation". I've been looking at C#/VB.net lately and the .net framework has so much available to make life easier, you'd be crazy not to take advantage of it. However, some tasks aren't suited for it, so you just have to pick the right tools for the job. Low level stuff you stick to C/C++/ASM and then write anything else in higher level languages that speed up development and make life easier.

InvincibleNoOB also brings up some important points. If you are going to invest your time and effort into this stuff, might as well do it right! There is no real reason to rush anything in the Silkroad development sphere nowadays. Take your time and look around to see what you can do differently. If you don't, you'll just have yet another program for Silkroad that will come and go and no one really cares about. Just remember be creative and experiment!
pushedx is offline  
Reply


Similar Threads Similar Threads
scripting??
11/14/2008 - Lineage 2 - 1 Replies
guys can u help me whats wrong on my script?? Label(MAN) CharStatus(MP,<=,90) { USEITEM(Elixir Of Mental Strength (B-Grade)) } Call(MAN) why is it wont use elixer???
ErZorScript Scripting Language
10/27/2008 - General Coding - 5 Replies
ErZorScript is a quickly developing scripting language for people who want to make small simple programs fast. It's obviously possible to write more advanced scripts for it, but that's where I need YOU! I need YOUR suggestions! The hardest part right now is knowing what to add and with YOUR suggestions I'll be developing it even faster, I also need you to report bugs too. ErZorScript is already a quite competent scripting language, however, we need perfection! A download of the scripting...
lua scripting?
10/08/2008 - World of Warcraft - 8 Replies
hi! wollte mal probieren n bisschen mit lua rum zuprogrammieren (für bosscasts oder sowas auf pserver) und weis nich wo ich n gutes tut herbekomme^^ kenne mich halbwegs mit C++ aus hoffe es kann mir jemand helfen mfg fr3ak0ut
Scripting
12/10/2006 - World of Warcraft - 1 Replies
Hello, I have used the search button on this site and ive used google in order to find out how to Script and then add the items to the game but with no luck. Can someone please link a guide or explain to me how to make a item and add it to my private server... text2schild.php?smilienummer=1&text=Thanks' border='0' alt='Thanks' />



All times are GMT +2. The time now is 12:24.


Powered by vBulletin®
Copyright ©2000 - 2024, 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 ©2024 elitepvpers All Rights Reserved.