• Dear Cerberus X User!

    As we prepare to transition the forum ownership from Mike to Phil (TripleHead GmbH), we need your explicit consent to transfer your user data in accordance with our amended Terms and Rules in order to be compliant with data protection laws.

    Important: If you accept the amended Terms and Rules, you agree to the transfer of your user data to the future forum owner!

    Please read the new Terms and Rules below, check the box to agree, and click "Accept" to continue enjoying your Cerberus X Forum experience. The deadline for consent is April 5, 2024.

    Do not accept the amended Terms and Rules if you do not wish your personal data to be transferred to the future forum owner!

    Accepting ensures:

    - Continued access to your account with a short break for the actual transfer.

    - Retention of your data under the same terms.

    Without consent:

    - You don't have further access to your forum user account.

    - Your account and personal data will be deleted after April 5, 2024.

    - Public posts remain, but usernames indicating real identity will be anonymized. If you disagree with a fictitious name you have the option to contact us so we can find a name that is acceptable to you.

    We hope to keep you in our community and see you on the forum soon!

    All the best

    Your Cerberus X Team

Implemented cserver

Holzchopf

Well-known member
3rd Party Module Dev
Tutorial Author
Joined
Jul 31, 2017
Messages
500
Hi there

I made a custom version of cserver (I call this version 18.01.12). It is slighty faster than the one that came with the last cerberus download...

Have a look! :)
 

Attachments

  • cserver.cxs-20180112.zip
    4.3 KB · Views: 274
  • cserver_winnt.exe-20180112.zip
    402.5 KB · Views: 306
Version 18.01.17 is up.
- now also works when minimized
- CPU usage got cut down again
- speed on the other hand increased (cserver now responds ultra fast to browser requests)
 

Attachments

  • cserver.cxs-20180117.zip
    5 KB · Views: 295
  • cserver_winnt.exe-20180117.zip
    403.6 KB · Views: 305
Version 18.03.05 is up.
- removed this thing called "cludge fix for ted", because the problem this fix should have prevented couldn't be reproduced anymore.

Also, the executable zip now contains a data folder, containing the mojofont, so the cserver won't be just black screen anymore ;-)
 

Attachments

  • cserver.cxs-20180305.zip
    5 KB · Views: 280
  • cserver_winnt.exe-20180305.zip
    442.8 KB · Views: 300
Is this specific to something or should I get this file?
 
It's not specific. Well, the exe is specific to Windows ;-) but the cserver.cxs is meant to be an update for the default cserver.cxs (version 17.7.3) which was a replacement for cserver.bmx. Version 18.03.05 is noticeable faster than 17.7.3 and uses less cpu.
 
I only tested it on Windows 7 / 10, due to lack of Mac / Linux
 
Just tried it and starting speed is back to normal. The lag the other version had was just annoying.
I am using Jungle, so I am not sure where this behavior comes from: When I run a program, it starts normal, but when I start the same program without closing cserver it won't start. Running in chrome on Win10
 
when I start the same program without closing cserver
by this, do you mean you chose just "Build..." or "Build and Run..."?

When you only build, you just have to reload your CerberusGame-Tab in Chrome.
When you build and run, I can't explain why Chrome shouldn't load it...

I'm using Opera and it works both on Win7 and Win10.
 
in Ted it works... so it is a JungleIde thing.
I get this error log:

Sending Kill signal...
Error killing process <unknown>. Process has exited, so the requested information is not available.
Connection properly closed.

So maybe Jungle is not allowing another start, if it cannot kill the former connection successfully!?
But it starts all the earlier tries later, when you close cserver.
 
OK I'll look into that. There's this odd behaviour, that after the first time I hit "Build and Run..." the "Cancel Build" button is active, because - I guess - the Server is still running and the IDE thinks the compilation process hasn't finished yet. Happens in Mollusk and Ted for me, but didn't really bug me. Maybe JungleIDE can't really handle that but I can't blame the IDE because ACTUALLY, transcc should start cserver like "detached", so its execution would continue, and then quit properly... But if this doesn't happen, it's probably a cserver thing =/
 
Nah, mixed up something in my last post:

transcc starts cserver, which -if necessary- starts cserver detached acting as server, then opens the url and quits, leading transcc to quit too. In my opinion exactly as it should. At least when running it from cmd. Because weirdly, Mollusk seems not to get that and still shows the "Cancel Build" button as active o_O
 
thanks for looking into that. It doesn't bother me to much. Compile /start time was definitely an issue for me, so great job!
 
Thanks! And no worries, I looked into it to make sure (as good as possible) not to let faulty software into the wild ;-)
 
@Holzchopf did you test your cserver with OGG sound files? Somehow one of my games is not loading them and cserver reports problems regarding OGG sound files.
 
I did not*. What kind of problems does cserver report and how? And when you write "one of my games" does this mean the problem only occurs for that specific one of your games?

* in the mean time I did. Can you check if example examples\mojo\mak\audiotest\audiotest.cxs works for you please? Works fine here.
 
I noticed it there, didn't check more. But will do so. I am at work atm so this will have to wait till tonight.
 
Oh and one mandatory question when it comes to HTML5 games: What browser do you use?
 
Ok, that oog problem was my code. Sorry about that. But I discovered that Cserver doesn't like to be closed. After that it doesn't open or when it opens, it states that "CServer failed". So far I need to restart TED to get it working again... most of the time.
 
Back
Top Bottom