Setting up my own dedicated server -1 reply

Please wait...

ScottyMcGee

Scotty was here

50 XP

12th May 2008

0 Uploads

26 Posts

0 Threads

#1 6 years ago

So I want to make one to host my friends to make a machinima. This is my first time doing something like this and it's getting more complicated by the minute.

I have the patch and JA plus. That leads me to my first question. If I'm using JA plus while hosting a server, does that mean that all my clients need to have JA plus too?

I have the server.cfg file in the gamedata of the JA plus mod (I had it before in the original gamedata, but I read somewhere that if you're using a mod it should be in the mod's gamedata, right?) The jampded.exe is in the base of the JA Plus mod.

When I click on the jampded.exe, nothing happens. What is supposed to happen by the way? All it says is: 0 files in pk3 files. Couldn't load mpdefault.cfg

So. . . what now? I feel like I'm very close to making it work but something just isn't configured right. It sounds like it can't find something. I was also considering maybe the jampded I downloaded is old? I think it was v1.0

Also, does "seta sv_cheats 1" in the server.cfg file allows you to do cheats like noclip? It would be easier to record scenes if we had that. And what if you want to spawn skins and monsters? What do you need to write on the cfg file?

Thanks.




Guest

I didn't make it!

0 XP

 
#2 6 years ago

1. It's recommended for them to use JA+ client. You can allow only people having plugin connect to your server by setting "sv_pure" cvar to 1. (not sure) 2. server.cfg should be in the mod folder. If you use JA+, you have to put it to the "japlus" folder. 3. "jampDed.exe" has to be placed in the swjkja/gamedata. 4. Nothing happens cause you put it to the wrong dir. 5. There's a jampDed.exe in ja+ mod pack. It fixes some security problems. 6. It allows all the clients to use any cheat they wish. So yes, they will be able to spawn "monsters". You may disable it so only admins can spawn npcs.

To run a dedicated server: 1. Open notepad and type there "jampded +set fs_game japlus +set net_port 29070 +exec server.cfg". Save it as a batch file and put it to your gamedata. 2. Make sure you have the router and that you've unlocked the port you typed in server starter file.

In cfg file: - change sv_hostname to the name of your server - change sth like g_enterMotd and g_motd (these commands were for lugormod... i am pretty sure there are similar one 4 japlus) - write your rconpassword, min. 15 letters make it uncrackable - type passwords for your admins (council, knight and instructor) - you may change their powers (read: the commands they may use), there was a calculator for that on japlus.net - calculate your sv_maxrate and sv_maxclients a) make sure what speed does your internet have b) calculation: sv_maxrate = connection speed/(client num*8)

Sorry for crapy english, I don't have much time to correct my sentences, simply wanted to help you.

Admin commands: /amlogin password to login Some of commands may only be used in alternate dimension (i think) so the best what you can do is disable it (unless you are going to build up a clan server where laming is disallowed).

Kotrola serwera wpisujemy /rconpassword [haslo_rcon] i mamy kontrole serwera z poziomu gry!!!! logujemy sie: /amlogin [HasloNaAdma] /amstatus - like /rcon status /amsleep [numer] lub [nick] - sleeps /amwake [numer] lub [nick]- wakes up /amkick [numer] lub [nick]- kick the player off the server /amslap [numer] lub [nick]- player flies /amempower [numer] lub [nick]- all the powers /ammerc [numer] lub [nick]- mercenary /amban [numer] lub [nick] - ban /amghost [numer] lub [nick]- becomes a ghost /amprotect [numer] [lub nick]- protects a player /amsilence [numer] lub [nick]- disallows writing /amunsilence [numer] lub [nick]- lets write /ammindtrick [numer] lub [nick]- player cant see other players for longer /amwhois - shows all the admins /amtele [p1] [p2] - teleportation /amrename [old nick] [new nick] – changes the nick /amsay [tekst] – can be seen only by admins /amforceteam [numer] lub [nick]- forces the player to switch team /amlockteam [numer] - blocks a particular team /amweather [rain] lub [snow]- changes the weather /amkillvote - turns the voting off /ammap [numer] [mapname] - changes the map [HL = HighLander] [0 = FFA] [3 = DUEL one on one tournament] [4 = POWER DUEL] [6 = TEAM DEATHMATCH] [7 = SIEGE] [8 = CTF] mapname :ex. jedishomeJL_II /amslay [numer] lub [nick] - play is being destroyed, works only on 2.2 /ampunish [numer] lub [nick] - player is being punished - can't either move or chat. I dont remember on which version it works

There aren't all the admins commands also some words arent translated but I hope you can understand what I meant

These commands will affect the person you're aiming at. /gunslay, /gunpunish, /gunsleep, /gunwake Make binds ex. /bind n gunslap /bind b gunslay /bind j gunsleep /bind k gunwake [/quote]

And security bugs: - if your connection speed is low (around 1 mb) even with patched jampded.exe your server may be crashed/flooded (so you generally should buy a dedicated server) - don't leave any password as the default one




ScottyMcGee

Scotty was here

50 XP

12th May 2008

0 Uploads

26 Posts

0 Threads

#3 6 years ago

WOW! Thanks. That's strange. The other forum I checked said to put the jampded in the base instead.

I guess I'll just move the server config and the jampded to the regular JKA then instead of JA plus. I don't want my friends to go through the hassle of downloading more stuff, and we don't really need it anyway.

I'm at work now but once I get home I'll test it ASAP and if I run into any problems I'll let you know.

EDIT: Sorry but also - what are the commands to spawn like a rancor or another npc? Also, there are some guns on the level I wish to remove, because they will get it in the way of the shot. For example, the flechette.




Guest

I didn't make it!

0 XP

 
#4 6 years ago

http://www.japlus.net/bitvalueCalculator.php Also, they do not have to downloads ja+. JA+ offers so much, resigning and moving to the base isn't imho wise.

The commands is (requires admin or sv_cheats on) /npc spawn

assassin_droid bartender bespincop bespincop2 cultist cultist_destroyer cultist_drain cultist_grip cultist_lightning cultist_saber cultist_saber2 cultist_saber_throw2 cultist_saber_med2 cultist_saber_med_throw2 cultist_saber_stong2 cultist_saber_strong_throw2 cultist_saber_all2 cultist_saber_all_throw2 cultistcommando elder elder2 galak_mech glider gonk gran gran2 granboxer granshooter hazardtrooper hazardtrooperconcussion hazardtrooperofficer human_merc_bow human_merc human_merc_rep human_merc_flc human_merc_cnc human_merc human_merc_key impcommander imperial impofficer impworker interrogator jawa jawa_armed jedi jedif jedi2 jedimaster jeditrainer jedi_random jedi_hf1 jedi_hf2 jedi_hm1 jedi_hm2 jedi_kdm1 jedi_kdm2 jedi_rm1 jedi_rm2 jedi_tf1 jedi_tf2 jedi_zf1 jedi_zf2 mark1 mark2 merchant minemonster mouse nulldriver player prisoner prisoner2 probe protocol protocol_imp r2d2 r2d2_imp r5d2_npc r5d2_imp rebel rebel2 reborn rebornacrobat rebornboss rebornchiss rebornfencer rebornforceuser rebornrodian reborntrandoshan rebornweequay reborn_dual reborn_dual2 reborn_new reborn_new2 reborn_staff reborn_staff2 DKothos VKothos RebornMaster RebornMasterDual RebornMasterStaff remote rockettrooper rockettrooper2 RocketTrooper2Officer RocketTrooper_ver1 rocks rodian Rodian2 saber_droid saber_droid_training saboteur saboteurcommando saboteurpistol saboteursniper sand_creature sand_creature_fast seeker sentry snowtrooper stcommander stofficer stofficeralt stormpilot stormtrooper StormTrooper2 swamptrooper SwampTrooper2 Tavion tavion_new Tavion_scepter Tavion_sith_sword test trandoshan tusken tuskensniper ugnaught Ugnaught2 weequay Weequay2 Weequay3 Weequay4 ragnos luke kyle kyle_boss rosh_penin rosh_penin_noforce rosh_dark rosh rancor rancor_mutant wampa jedi_random howler shadowtrooper ShadowTrooper2 stormtrooper alora alora_dual jan lando boba_fett chewie desann galak lannik_racto rax noghri reelo monmothma morgankatarn prisoner rebel



ScottyMcGee

Scotty was here

50 XP

12th May 2008

0 Uploads

26 Posts

0 Threads

#5 6 years ago

Okay. . .well now when I click on jampded.exe it reads

"VM_Create on game failed"

The other box with all the yellow words stops at:

Sending heartbeat to masterjk3.ravensoft.com

And it never continues from there. It just stops.

I think it may have to do with the server.cfg file. I'll just post what I have on it here. Obviously I'm going to put something in the quotes in the first three things, but I'm just showing you what's in the config file:

// Server Config seta sv_hostname "" //seta g_motd "" //rconpassword ""

// gametypes // 0 = FFA // 3 = DUEL one on one tournament // 4 = POWER DUEL // 6 = TEAM DEATHMATCH // 7 = SIEGE // 8 = CTF set g_gametype 0

seta sv_maxclients 8 seta g_inactivity 0 sv_maxRate 10000 set g_allowvote 1 set timelimit 20 set capturelimit 20 set g_autoMapCycle 1 seta sv_cheats 1 g_weapondisable 1024

map mp/ffa1

Now, I checked the speed of my connection and it says 54 mpbs. I'm still a little confused on what to do with that number and setting things up with the maxrate and client. I don't really need more than 8 clients.

I decided not to use JA plus. This is just regular JKA.

Wait, I just realized - do I need to enter all the maps I want the server to use? Is that why it's not working? And since I'm not using JA plus now I have to type something different for that batch file, right?

Thanks for all your help by the way.




ScottyMcGee

Scotty was here

50 XP

12th May 2008

0 Uploads

26 Posts

0 Threads

#6 6 years ago

HOKAY

Sorry for the double-post.

So it's actually working. I figured it out.

However there are some tiny things I need to tweak.

How do I make it so that cheats are enabled?

How come I can't find my server on the Internet section? (Actually, for some reason, I can't find any servers at all, except my own when I look under LAN)




Guest

I didn't make it!

0 XP

 
#7 6 years ago

Responded to your PM but I see there are a few things I could yet help:

How come I can't find my server on the Internet section? (Actually, for some reason, I can't find any servers at all, except my own when I look under LAN)

As you're the hoster, you can't see it in internet section. Change "Internet" to "Local" in server filter list and if you typed port 29070 it should appear there. But in order to not to enter conflict with default game port it should be set to 29072/29073... Start -> Run -> "cmd" -> "ipconfig /all" and seek for "IP Address" of the connection type which currently works for you. Then in game's console type "/connect the_ip_address_you_found:port".




ScottyMcGee

Scotty was here

50 XP

12th May 2008

0 Uploads

26 Posts

0 Threads

#8 6 years ago

Okay, so Sith Cookie has been helping me out through PMs about a bunch of stuff, so thanks Sith Cookie.

HOWEVER, we are beginning to be stumped. . .

Everything seems to be set but my server still doesn't show up on the list.

I keep checking through jeditracker.

I forwarded all the right ports using this site: Port Forwarding Starwars Jedi Knight Jedi Academy on the Linksys WRT150N - PortForward.com

I checked my firewall and antivirus. (I have Win 7, just fyi)

I can even ping the master servers and get a response. So there IS a connection. I just don't get why it doesn't show up on the list. Jeditracker still can't detect it.

Batch file is fine. (Although I have a general question: what IS hunkmegs for?)

I was wondering if I could have my friends try to connect to the server using the /connect IP command when logging onto a random server.

Worst comes to worst, I'm thinking of reinstalling everything. But I'd still like to know as many possible things that could be the issue.

EDIT: If this means anything. . . the dedicated server prompt that shows up ends at first with a hitch warning, which I heard is normal. But then it keeps filling up space saying it's sending heartbeats to all the master servers. No more hitch warnings pop up. Is THAT normal?