If you looking for a new Turkish translator, just contact with me. I want to help this awesome mod.
Right now itâs not neccesary but Iâll contact you if I update the mod and canât reach the Turkish translator
Im not a wizard at javascript but I wanted to suggest an Idea to you:
Maybe Company Could have their own logo im not sure how youâd do it but pls reply your thoughts.
mh, possible but awkwardly annoying to do
Alright, so how do plugins work? Been on vacation, sorry.
http://gdtmp.tk/pluginjs
allows you to do stuff directly to the C# code, if pureServer still exists.
Ah, thank you. Election Time just got mezzy.
Server 1.5.5.0
- Added .NET extension support! (see documentation)
- Greatly expanded JS plugin possibilities by adding more functions and events! (see documentation)
- Added a plugin/extension form in the GUI
- Plugins/extensions no longer load automatically unless they are enabled through the GUI or the âenableplugin [filename]â/âdisableplugin [filename]â/âenableext [filename]â/âdisableext [filename]â commands, former run/stop commands have been removed
. Player count is now shown in the GUI window title - More information is now shown in the âplayerinfo [player]â command result
- Added âplayermods [playerid]â command that returns a list of the specified playerâs enabled mods
- Fixed a bug where the GUI would freeze during multithreaded console writes
- Minor general improvements and optimizations
Iâve also cleaned up the code a bit⌠but just a tiny, tiny bit. Iâm honestly tired of working on this though. (My next open-source project, donât ask what it is whether youâre an alien or my best friend, which Iâm going to start working on later is going to be commented and much cleaner.)
Download the software here.
Source code is here.
@Olin3D Iâll consider that for later
Is a JS plugin file got a special format, or do you just start with âaddCommandâ and not âfunction()â?
Not sure I understand what exactly you mean? You donât need to enclose the plugin code in a function. Just write the stuff right in like in the examples which are fully working as they are.
Or are you wondering if you have to define a function before addCommand
uses it? The answer for that is no, but I suggest you do that since itâs good practice.
Client 0.5.10
- Fixed error when co-developing a game without an engine
Download: http://www.nexusmods.com/gamedevtycoon/mods/8/
I just realized I told @KizzaGaming Iâd fix this bug 2 weeks ago. Whoops, sorry!
Can you give me an example of a plugin file without any functions in it yet?
make a new file called 'plugin.jsâ
done
In normal modding you need function() at the start.
To execute a piece of code you should need to use (function(){})(), I guess.
Server using wrong IP address
I have VMWare installed so there are two virtual network adapters on my system in addition to my regular wifi adapter. Whenever I try to run the server software it detects the last network adapter IP listed which is one of the two VMWare virtual networking adapters (it correctly identifies my external IP).
Is there a way to have the server allow me to select the IP I want / force the IP I want it to run on?
Simplified Chinese translationďź
@Stian @tmch You donât need that part. In GDT modding Iâm pretty sure you put your code in an anonymous function to prevent other mods from accessing your variables, however in this case they they wonât be able to anyway.
@PaulSpoerry That shouldnât be a problem. The server may incorrectly refer to a virtual adapter when detecting your local IP, but it will still function as usual. This means:
- You will still be able to direct connect with
localhost
or127.0.0.1
- Other people on your LAN will still be able to connect using your real local IP
- If you have port forwarded, her people on the internet will still be able to connect with your public IP or by using the server browser if you have that enabled
@967018 Thanks a lot! Iâll check it out, and if everything is fine, Iâll push it out in an update very soon
Youâre welcome! The server that hosts the list for the server browser screws up sometimes, which could be why itâs not showing up.