101

(3 replies, posted in News)

Will take further days to get it back running, thx to the huge changes on linux (init.d -> systemV). Tried to get it at least running but simply nothing happens, webserver wont stay, he just closes like not being a daemon.

102

(3 replies, posted in News)

Just announcing an extended downtime for HSR API and HELP.

I will do a fresh server install now, due to some issues like outdated OS and missing security patches.

While doing this, the API and HELP wont be available.

The Launcher will hang a bit but should still operating normally.

I will try to get the API and HELP back running asap

103

(16 replies, posted in Guides)

When you allow, i could add this as intro for unity client... Some music with a space background and the text scrolling, maybe similar to star wars.

104

(2 replies, posted in News)

Screenshots...

http://test.cisco211.de/hsr/HSRUnity.png
http://test.cisco211.de/hsr/HSRUnity.png

http://test.cisco211.de/hsr/HSRUnity2.png
http://test.cisco211.de/hsr/HSRUnity2.png

http://test.cisco211.de/hsr/HSRScanner.png
http://test.cisco211.de/hsr/HSRScanner.png

http://test.cisco211.de/hsr/HSRTiles.png
http://test.cisco211.de/hsr/HSRTiles.png

105

(2 replies, posted in News)

Status...

106

(16 replies, posted in Guides)

Nice idea. Could make a special forum page for this and/or help could tell the story when you ask him for story.

107

(4 replies, posted in News)

We plan to replace the Updater with a new patching system, called HSRPatcher. I have now finished the first working beta version. The difference now is that the new patching system allows per-file-patching, this means instead downloading version zip files, it now compares each file/folder of the client with a server patch list. Through that the updating process only downloads stuff that really needs to be downloaded. Another effect is that we have detailed control how all the files and folders are handled on client side, f.e. we can now delete unused files on your local installation.

This works similar how the original Interadenvture Inc. Updater were working, but the difference is that we have much better abilities, f.e. our news system supports modding. To do modding you have to set "allowmodding" option to "1" in Launcher.ini config file. Then it would skip patching files that we allow to mod. This also means when we change the files in a way that they get incompatible, you have to turn "allowmodding" back to "0", to patch your client with compatible files. Then again you can start modding.

Now i have reached the testing phase, i hope some ppls are trying it out, because i could have overseen bugs/issues/illogic.

Test file you need: http://test.cisco211.de/dl.php?HSRPatcher.exe

Examples how and what you can test:

1.  Fresh installation...
- Create a test folder on desktop and place HSRPatcher.exe in it.
- Launch HSRPatcher.exe in that folder, it should download the entire game without any issues.
- The launcher should start when patching is done, the launcher checks the consistency of the game (and starts the patching in case of inconsitency).
- The game should work

2. Updating a working client that still uses the updater...
- Create a test folder on desktop and copy the contents of the working client directory into that folder
- Launch HSRPatcher.exe in that folder, it should patch the entire game, adding new stuff, removing old stuff.
- The launcher should start when patching is done, the launcher checks the consistency of the game (and starts the patching in case of inconsitency).
- The game should work and all the launcher/game/character settings should still be the same.

3. Modding the game
- Do #1 or #2 to have a test client.
- Set "allowmodding" to "1" in Launcher.ini (Launcher\Launcher.ini).
- Mod your files (atm only Graphics, Sounds and Music can be modded, will add a link to a live updated list of moddable files soon)
- Start Launcher, he shouldnt start to patch because you enabled modding.
- The game should work with your modded files

That are some examples what you can test. If you get any warnings/errors/crashes from testing, feel free to post it here.
You can also post the patch.log that the HSRPatcher is writing when doing the patching.
You are also able to copy the error/warning windows as text, simply click the window title, then press CTRL+C, then you can CTRL+V into the forum post formular.

OK that was all at the moment.

PS: Sorry for my bad english tongue

108

(0 replies, posted in News)

The launcher and updater has been updated to use the latest alpha as official version. This has been done, because the older client is no longer working, so we changed the api to remove old stuff.

We also fixed the bug that happened on updater when an update were to large, now we can handle files up to 2TB.

This means everything should still work fine, the latest update now contains the newest client/launcher/updater version.

But its ever good to do a fresh install of the game (to delete old and unused stuff), we also updated the download section with latest client.

As next step we are working on a new update mechanism, which will cause much lesser network traffic, since its not downloading files that already exists.

109

(1 replies, posted in News)

Im done, API is now back and running!

110

(1 replies, posted in News)

Hi ppls, have to do something on server, so the game api will not work for one or more hours. Everything should still work so pls dont be annoyed when the launcher needs some time.

111

(2 replies, posted in News)

OK its fixed now.

112

(2 replies, posted in News)

Sorry im totally drun ken while updating the server. Im trying to update the mesaging system and failed to update, so i stoppted the services to avoid hacking, thx

113

(6 replies, posted in News)

It has several reasons why its not implemented on server side.

(Thx to angus to telling me that)
1. The server itself is a lot of pure C (not much C++)
2. The server is very portable and stuff like this would require adding libboost (There are a lot another reasons why not using this)
3. Its known that C sux balls when working with Strings, thats where HELP comes in, he were made to extend with commands that are a lot of work in C  implementing/maintaining it.
4. Atm you cant directly see that but helps chat line parsing is a complicated token parser which makes use of regular expressions to ensure type safety including a lot of custom parsing inside each command. (Written as C code it would take a lot of time to get it working on server and this would also decrease the performance a lot)
5. Real life... we also have another things todo than spending 100% of our free time to HSR.
6. Using Help allows quicker development/deployment.

And a personal meaning about C, lez say programming languages looks like pictures, it would look like this:

Languages like C: http://devmag.org.za/blog/wp-content/up … bezier.png
Many languages that clearly not C: http://jaced.com/blogpix/2007/trisquarecircle/002.gif

So... Instead having 10yrs+ experience of C i can do much more complicated stuff in other languages with much lesser time (this is what counts).
Talking about speed/accuracy... C isnt the best everytime, i can get faster/better results (on lowlevel) with pure basic.

It should also be common to choose languages depending on their strength compared to your problem you want to resolve. And chat parsing is one of the things that are ugly work on C.

114

(6 replies, posted in News)

All are in protected scope.

They have todo with parsing ppls input.
char_ only stores if you used a ! or / command on help.
param1 - 3 are the extracted parameters form input, message the rest on right side.
regInteger is a Regular Expression Pattern which is used to check that the random max value is really a number

PS: Yes ppls can still do /random but !random were specially invented for doing one random for a group of ppls, i just posted it to let ppls know how the results are calculated. Anyone could now say, why not implementing that on server side, simple its just to complicated to code a parser that cant be exploited through trying to get on top of the results.

115

(6 replies, posted in News)

Sometimes ppls think !random is just unfair. All i can do is sharing the code how the command works.

The command itself:

    /**
     * Random command
     * 
     * @return boolean
     */
    private boolean cmdRandom() {
        if (!hasCommand("random") || char_ != '!') return false;
        int max = 1000;
        String seps = ",\\.\\-\\|\\:\\/\\\\\\# ";
        String string = param1+' '+param2+' '+param3+' '+message;
        Matcher matcher;
        Map<Integer,String> map = new HashMap<Integer,String>();
        ArrayList<String> players = new ArrayList<String>();
        
        // Max value
        matcher = regInteger.matcher(string);
        if (matcher.find()) {
            max = Integer.parseInt(matcher.group(1));
            string = string.replace(matcher.group(1),"");
        } else max = 1000;
        string = string.replaceAll("[ ]+"," ").trim();
        
        // List of players
        matcher = Pattern.compile("([a-zA-Z"+seps+"]+)").matcher(string);
        if (matcher.find()) {
            String[] split = matcher.group(1).trim().split("["+seps+"]+");
            for (String p : split) {
                if (!p.isEmpty() && !players.contains(p.toUpperCase())) players.add(p.toUpperCase());
            }
        }
        
        // Random
        if (players.size() > 0) {
            for (String p : players) map.put(Utility.Random.Integer(0,max),p);
            List<Integer> rnds = new ArrayList<Integer>(map.keySet());
            Collections.sort(rnds,Collections.reverseOrder());
            string = "";
            for (Integer rnd : rnds) string += " "+map.get(rnd)+": "+rnd;
            draw(lng.get("%0 randoms for [%1]...%2",player,max,string));
        } else draw(lng.get("%0 randoms [%1] and gets a [%2]",player,max,Utility.Random.Integer(0,max)));
        return true;
    }

The Utility.Random.Integer(int min,int max):

        /**
         * Integer
         * 
         * @param min
         * @param max
         * @return int
         */
        public static int Integer(int min, int max) {
            return min + (int)(Math.random() * ((max - min) + 1));
        }

Math.random() is an internal java thing, i have no control on that. I also dont set any kind of seed or whatever would change the behavior of that method.

PS: Feel free to post a better algorithm if you can tongue

Now you can use the !report command ingame...


How it works:

!report bug Im reporting a new bug...
!report improvement Im reporting an improvement of something...
!report feature Im reporting a new idea...
!report multilog Im reporting a player thats multilogged...
!report scam Im reporting a player thats scamming...
!report spam Im reporting a spammer...
!report task Im reporting some work that needs to be done...

How that works:

1. HELP stores that in his database. Administrators have an overview which looks like this:
http://files.cisco211.de/hsr_report.png
2. That report also appears on Reports Forum. The idea is that we can discuss about an report.
3. if a report gets resolved and/or removed, then the forum topic will be closed, when an admin clicks the delete button on game api. Its important that the admin who wants to remove the report, ever posts a reason into that topic like "bug has been resolved" or "multilogger xy has been banned for a week", to let other ppls know why they can no longer post into that topic.

Now its up to you to use that new feature, whenever you run into a problem you can use the !report command and if your report text is to long you can continue it on forum smile

117

(6 replies, posted in News)

Testserver is down sad

118

(3 replies, posted in News)

Just took your model big_smile

http://test.cisco211.de/hsr/model.png

http://test.cisco211.de/hsr/model.png

119

(75 replies, posted in News)

Thats harv's scout hull with 3x,2y,3z scaling (had to merge the meshes and then exporting it to obj to have a valid mesh, other meshes not working, thats why you only see 2 different hulls atm).

Interesting is, that the ship size decides how the overall scaling feels, through the new scout hull it feels near to old client. I totally agree that the test hull (called Corsair) is a bit to big big_smile

120

(75 replies, posted in News)

Supa just changed the gui frame rendering to support all resolutions, look what i can do now (thats windowed, not fullscreen):

http://test.cisco211.de/hsr/widescreen.png
http://test.cisco211.de/hsr/widescreen.png

121

(75 replies, posted in News)

http://test.cisco211.de/hsr/sp4/hsr_sneakpeak4.html

122

(75 replies, posted in News)

Update:
- Added command handling for ! and / commands
- Added window scaling for the UI (you can zoom in/out each thing when holding down alt while using mousewheel)
- Added command help system and data (yeah finally each command has a help text)
- Added/Extended counter debug window (shows stuff like fps, ping and map coordinates, press F10 to enable/disable)
- Added multi language system to support custom languages later
- Improved network stability a bit
- Added support for different backgrounds (each zone could now have its own background)
- Added some background for testing
- Invented INI reader/writer which is able to import/export any buildin/supported data type from/to ini file (needed to support a flexible game config)
- Improved tile system concept and stability
- Added custom input management, to manage key/mouse/joystick bindings (also supports key combinations, input axis, mouse clicks, window movement recognization like window shaking, mouse movement, alternative bindings)
- Added frame limiter (-1 = no limiter, 60 = like vsync, ...)
- Added resource wrapper to customize client content (only supported for audio, shader, texture and text atm)
- Added shop interaction with planets
- Added skill train support
- Added ability to change ship hull/color

Video in next post!!!

123

(75 replies, posted in News)

In new client, when you press F10:

http://test.cisco211.de/hsr/counter.png

PS: The coords in chat are different because i moved after leaving sb, then i made the screenshot tongue

124

(2 replies, posted in News)

Just reserved this thread to inform ppls about current client progress and aditional informations. Standby...

Work in progress...

125

(75 replies, posted in News)

FBX