What I need to know to write a custom client?

Forum for game modifications and custom clients.

Re: What I need to know to write a custom client?

Postby Nsuidara » Tue Nov 07, 2017 4:38 pm

i was long time ago try ... and stop it...
i always hate about configurations project for property basic compile :P

if somebody explain how prepare proparty project here or PM then PLS :]
\(*o*)\ Praying in the Marp Church may reduce the time for update /(*o*)/
User avatar
Nsuidara
Customer
 
Posts: 1995
Joined: Fri Aug 17, 2012 11:50 pm
Location: Poland

Re: What I need to know to write a custom client?

Postby lachlaan » Tue Nov 07, 2017 4:40 pm

With ant i just use the config file kand's been using and it works fine. Sometimes you need to tweak the charset settings to match your computer's language, or your jdk version, but that's about all the tinkering it takes.
Exactly 6.022 x 10^23 worth of Lach molecules.
lachlaan
Customer
 
Posts: 2043
Joined: Tue Mar 12, 2013 3:11 pm

Re: What I need to know to write a custom client?

Postby Nsuidara » Tue Nov 07, 2017 4:42 pm

lachlaan wrote:With ant i just use the config file kand's been using and it works fine. Sometimes you need to tweak the charset settings to match your computer's language, or your jdk version, but that's about all the tinkering it takes.

but somebody can said was used netbeans or eclipse ?
\(*o*)\ Praying in the Marp Church may reduce the time for update /(*o*)/
User avatar
Nsuidara
Customer
 
Posts: 1995
Joined: Fri Aug 17, 2012 11:50 pm
Location: Poland

Re: What I need to know to write a custom client?

Postby Freedoom » Tue Nov 07, 2017 5:03 pm

lachlaan wrote:Yeah, the source folder is where all the source code is that then compiles into classes that then compiles into the jar files i think, but again kand is the client modder here, i just tinker when i get bored. You need to open each file ever in the src folder and just stare at it for days and days till you understand what it does. Then you can actually change stuff and hope it works lol.

The structure of java applets is a bit odd for me, always has been confusing so the first thing to do is to figure out how each class relates to another. Which class is an extension of another class and which class uses which methods of its parent classes. Like i said before but was censored, it's a cluster of fornication. I personally blame Loftar :D


Thanks.

Why have i to know about applets?.

Which is the .java who has the main method of the project?.
Freedoom
 
Posts: 72
Joined: Wed Sep 27, 2017 6:31 am

Re: What I need to know to write a custom client?

Postby Freedoom » Tue Nov 07, 2017 5:07 pm

I have this now

Image
Freedoom
 
Posts: 72
Joined: Wed Sep 27, 2017 6:31 am

Re: What I need to know to write a custom client?

Postby Kandarim » Tue Nov 07, 2017 5:50 pm

It depends so very much on what you want to do. Do you want to change the UI ? create extra windows that show certain information? Would you like to play different sounds, or silence turkeys (on-the-side: fix for that incoming soon, hopefully! When I get around to merging the latest changes).

I can only suggest you first learn to program in Java on some easier examples, and then tackle a codebase the size of the salem client.
If you want to persist (and don't mind working within the framework of my code), writing small plugins for my client may be a good place to start getting to grips with the client code: http://forum.salemthegame.com/viewtopic.php?f=11&t=18135.

lachlaan wrote:censored

Someone still has the training wheels on. You know you can disable the censor, right ?
I have neither the crayons nor the time to explain it to you.
JC wrote:I'm not fully committed to being wrong on that yet.
User avatar
Kandarim
Customer
 
Posts: 5321
Joined: Mon Jan 21, 2013 4:18 pm

Re: What I need to know to write a custom client?

Postby shubla » Tue Jan 09, 2018 9:28 pm

Dont do it.
You can still escape from the grasp of loftars code.
Image
User avatar
shubla
 
Posts: 32
Joined: Tue Jul 14, 2015 8:38 pm
Location: Finland

Previous

Return to Artifice & Arcana

Who is online

Users browsing this forum: No registered users and 20 guests