Author Topic: TremX for GPP!  (Read 32819 times)

zolk3ri

  • Posts: 13
  • Turrets: +2/-2
TremX for GPP!
« on: July 08, 2011, 09:19:42 pm »
Useful links

  • PK3s and "help.txt" can be found here.
  • Web interface of TremX's git repository can be found here.


You could check it out via command:
Code: [Select]
git clone git://github.com/zolk3ri/TremX.git

Aliens
   General
    
  • Aliens can now sense their nearby teammates. (white blips)
  • Advanced Dretch's skin is more yellowish than the regular Dretch's skin.
  • Advanced Marauder's skin has been replaced and now it is kind of yellow green instead of red.

   Advanced Dretch
    
  • Has the ability to destroy defensive structures like turrets and teslas.
  • Has the ability to spread infections.
  • Has the ability to pounce.

   Advanced Basilisk
    
  • Has the ability to become invisible if you stay still or you are boosted.

   Advanced Marauder
    
  • Has the ability to snipe 3 barbs.


Humans
   General
    
  • Human scanner now updates more frequently and uses different colors for alien buildables and human structures.
  • Machinegun Turrets now have slightly larger spin up delay before firing.

   Upgrades
  
  • The "Biokit" is a biological enhancement system that heals wounds, improves stamina, and provides some resistance to alien infection.
  • The "Cloak" can be used to sneak up on aliens without being seen. The cloak lasts for 30 seconds once it is activated. Back-mounted battery pack and jet pack will stay visible.

Notes
I have improved the PK3 archive checking. From now, it uses SHA1 encryption instead of MD5.
Server's SHA1 checksum of the PK3 archive (from which the server loaded game.qvm, cgame.qvm and ui.qvm) now stored in a temporary variable.
Of course client is not allowed to see the value of the temporary variable.

It compares if client's SHA1 checksum of the PK3 archive is equal with the server's SHA1 checksum of the PK3 archive or not.
If not, it's not the same, means the player gets disconnected by the server.

According to kevlarman, I can't checksum the PK3 archive because PK3 archives with identical contents but different checksums are valid.
He is right but why not be 100 percent sure that the player has the same PK3 archive.
Anyway, if their SHA1 checksum is not equal, it won't actually download from the server yet.
I will be working on it.

It is based on GPP's revision 2225
« Last Edit: July 12, 2011, 11:45:11 pm by zolk3ri »

kharnov

  • Spam Killer
  • *
  • Posts: 626
  • Turrets: +47/-791
    • Unvanquished
Re: TremX for GPP!
« Reply #1 on: July 08, 2011, 11:18:27 pm »
Will you have a server up for this?

zolk3ri

  • Posts: 13
  • Turrets: +2/-2
Re: TremX for GPP!
« Reply #2 on: July 08, 2011, 11:29:07 pm »
Will you have a server up for this?

I wish I could but I can't. Unfortunately. :(

ULTRA Random ViruS

  • Posts: 924
  • Turrets: +4/-101
    • ZdrytchX's reference website
Re: TremX for GPP!
« Reply #3 on: July 09, 2011, 08:15:15 am »
Hmm... i don't remember cloaks in tremx and green marauders like korx... oh well... at least someone brought it back to life!
_________________________________________________ ________________

Links don't exist? I instead used the ones on another post (http://tremulous.net/forum/index.php?topic=15941.0)

They don't work on gpp, and the menu works and looks almost identical to korx (green dretch, different title). You said it had a yellow dretch right? Sure you didn't get a ancient KoRx mod? (i'm very sure korx is a tremx + gpp mod for 1.1)
« Last Edit: July 09, 2011, 08:42:17 am by ULTRA Random ViruS »

TANK

  • Posts: 54
  • Turrets: +0/-0
Re: TremX for GPP!
« Reply #4 on: July 09, 2011, 09:52:10 am »
zolk3ri.no-ip.org[0: 89.132.165.137]: errno=Connection timed out
fatal: unable to connect a socket (Connection timed out)
Long live Official EU SerVer :basilisk:

zolk3ri

  • Posts: 13
  • Turrets: +2/-2
Re: TremX for GPP!
« Reply #5 on: July 09, 2011, 10:12:54 am »
zolk3ri.no-ip.org[0: 89.132.165.137]: errno=Connection timed out
fatal: unable to connect a socket (Connection timed out)

It works now. I had just some sleep and had to turn off the computer. :P

zolk3ri

  • Posts: 13
  • Turrets: +2/-2
Re: TremX for GPP!
« Reply #6 on: July 09, 2011, 10:26:31 am »
Hmm... i don't remember cloaks in tremx and green marauders like korx... oh well... at least someone brought it back to life!
_________________________________________________ ________________

Links don't exist? I instead used the ones on another post (http://tremulous.net/forum/index.php?topic=15941.0)

They don't work on gpp, and the menu works and looks almost identical to korx (green dretch, different title). You said it had a yellow dretch right? Sure you didn't get a ancient KoRx mod? (i'm very sure korx is a tremx + gpp mod for 1.1)

I have modified the source code of the official Tremulous GPP (revision 2225).
I have changed the regular Dretch's skin by adding more saturation for more yellowish color.
I have changed the Advanced Marauder's skin by changing the "HUE".
It is a pure modification to Tremulous GPP.

Tremulous GPP revision 2225 -> Modified the source code -> My TremX is ready to use!

Nothing much dude. That is all. It is not fucked up though.
I am sure all of the changes are working. (I have tested it)

In summary: It is not based on official TremX or KorX. I made my changes on my own. There still could be any similarity since I have added some of the same stuff but made it more stable. Also, the graphics are the same except the Advanced Dretch's skin and the Advanced Marauder's skin. I have just modified them on my own using GIMP.
« Last Edit: July 14, 2011, 05:11:59 pm by zolk3ri »

swamp-cecil

  • Posts: 774
  • Turrets: +80/-163
    • Tremulous
Re: TremX for GPP!
« Reply #7 on: July 09, 2011, 09:48:38 pm »
Im not too big a fan of TremX (KoRx, Same thing?), but this may help bring me back or get more 1.2 players.
If I was better, I would help you with weapon models. Trust me, I actualy learned how to a bit. Just a bit.
these are stupid suggestions, don't even waste our time.
I don't like your negative attitude.

zolk3ri

  • Posts: 13
  • Turrets: +2/-2
Re: TremX for GPP!
« Reply #8 on: July 09, 2011, 10:40:05 pm »
Im not too big a fan of TremX (KoRx, Same thing?), but this may help bring me back or get more 1.2 players.
If I was better, I would help you with weapon models. Trust me, I actualy learned how to a bit. Just a bit.
Thanks dude. Actually it's really not the same as original TremX or KorX's TremX.
It's something else. Take a look at the feature list. That's all.
I would love to see those features in 1.2 though with the new models and such. :)

Kingnickolas

  • Posts: 43
  • Turrets: +0/-0
Re: TremX for GPP!
« Reply #9 on: July 10, 2011, 01:21:25 am »
This is the best thing ever. Thanks so much for your amazing contribution to society. :D

(Lol, that's not sarcasm either. KorX and TremX were the best things ever.)

zolk3ri

  • Posts: 13
  • Turrets: +2/-2
Re: TremX for GPP!
« Reply #10 on: July 10, 2011, 11:50:18 am »
Guys, what about a new alien class that launches millions of tiny insectoid aliens as a secondary attack? Since I am not good at english, I need a good name for that alien class.
Also I am thinking of something like if you are using Battle Suit then the screen should be dark a little bit, then the four corner of the screen should be darker than the whole screen. After that, enemies and teammates must be more bright so you will be able to see them better.

By the way, I wish I could use Blender and shit like that.
I have time but I don't know how to make for example a new animated alien model. :(
« Last Edit: July 10, 2011, 03:30:02 pm by zolk3ri »

1337-Kynes

  • Posts: 131
  • Turrets: +105/-2
Re: TremX for GPP!
« Reply #11 on: July 10, 2011, 10:34:21 pm »
Guys, what about a new alien class that launches millions of tiny insectoid aliens as a secondary attack?

I would call it a walking hive.
What do you get. When combine. Deuterium pellet. Terrawatt laser.
And primitive Earth leader from Asian steppes.
ANSWER.
KHAN. FUSION.

ULTRA Random ViruS

  • Posts: 924
  • Turrets: +4/-101
    • ZdrytchX's reference website
Re: TremX for GPP!
« Reply #12 on: July 12, 2011, 02:29:35 am »
Also I am thinking of something like if you are using Battle Suit then the screen should be dark a little bit, then the four corner of the screen should be darker than the whole screen. After that, enemies and teammates must be more bright so you will be able to see them better.
Yes, the face of the battlesuit is a 'T' shape helmet. Could be darker. (Tell a friend to get a bsuit, then look at you, turn left and right slowly, and you'll see a 't' moving.)

Also, you ever notice helmets actually don't have visors but humans still able to see radar? =D

1337-Kynes

  • Posts: 131
  • Turrets: +105/-2
Re: TremX for GPP!
« Reply #13 on: July 12, 2011, 05:09:50 am »
Also, you ever notice helmets actually don't have visors but humans still able to see radar? =D

The helmet obviously uses olfactory projection.
What do you get. When combine. Deuterium pellet. Terrawatt laser.
And primitive Earth leader from Asian steppes.
ANSWER.
KHAN. FUSION.

vcxzet

  • Posts: 467
  • Turrets: +21/-13
Re: TremX for GPP!
« Reply #14 on: July 14, 2011, 01:08:23 pm »
Cool. I wish I could help.
blender:
  there should be some info on openarena forums/wiki
name:
  use whatever name you like. it has little to do with english
  (I'd call it "hiver" though)

ULTRA Random ViruS

  • Posts: 924
  • Turrets: +4/-101
    • ZdrytchX's reference website
Re: TremX for GPP!
« Reply #15 on: July 21, 2011, 07:24:13 pm »
I have modified the source code of the official Tremulous GPP (revision 2225)
Tremulous GPP revision 2225 -> Modified the source code -> My TremX is ready to use!
Anyways, where can i get this gpp source code? I've been looking for one without me having to d o w n l o a d  e v e r y  f i l e  s e p e r a t e l y due to the fact gpp is UPDATING lots of times. If i can have the source code from the first gpp when it came in the form of an executable, that'll be fine.

gimhael

  • Posts: 546
  • Turrets: +70/-16
Re: TremX for GPP!
« Reply #16 on: July 22, 2011, 06:37:38 am »
I propose that you install a subversion client.

F50

  • Posts: 740
  • Turrets: +16/-26
Re: TremX for GPP!
« Reply #17 on: July 22, 2011, 08:39:16 am »
He was already pointed in that direction, and is as usual, posting off topic. Stop encouraging him.
"Any sufficiently advanced stupidity is indistinguishable from malice." -- Grey's Law


vcxzet

  • Posts: 467
  • Turrets: +21/-13
Re: TremX for GPP!
« Reply #18 on: July 22, 2011, 11:00:56 am »
I have improved the PK3 archive checking. From now, it uses SHA1 encryption instead of MD5.
Server's SHA1 checksum of the PK3 archive (from which the server loaded game.qvm, cgame.qvm and ui.qvm) now stored in a temporary variable.
Of course client is not allowed to see the value of the temporary variable.

It compares if client's SHA1 checksum of the PK3 archive is equal with the server's SHA1 checksum of the PK3 archive or not.
If not, it's not the same, means the player gets disconnected by the server.

According to kevlarman, I can't checksum the PK3 archive because PK3 archives with identical contents but different checksums are valid.
He is right but why not be 100 percent sure that the player has the same PK3 archive.
Anyway, if their SHA1 checksum is not equal, it won't actually download from the server yet.
I will be working on it.

IIRC
client creates a string of checksums(pre-computed crc32/adler from the archive) of files in a pk3, add salt sent from the server to it,
and compute the md5 of that string (some files are excluded and qvm files adds flags(IIRC))

when q3 was closed source it was a safer method since you needed checksums of all files in an archive
since it is open source now, it has no advantage

if the pk3 archive of the client is not the same as the distributed one Then they are not the same anyway

but computing SHA1 every time you connect might add some delay

|GBA|QweefZilLa

  • Posts: 27
  • Turrets: +0/-3
Re: TremX for GPP!
« Reply #19 on: July 23, 2011, 07:50:38 pm »
When is this modded sever gonna be up and running ... I can't wait !!!  ;D

ULTRA Random ViruS

  • Posts: 924
  • Turrets: +4/-101
    • ZdrytchX's reference website
Re: TremX for GPP!
« Reply #20 on: July 24, 2011, 11:30:51 am »
He was already pointed in that direction, and is as usual, posting off topic. Stop encouraging him.
:(
Then i'll complain more to match it up.  :laugh:

Also it isn't entirely off-topic. I would never post such a thing like that unless someone gave me brain damage.

Great, now you're making me post off-topic. Thanks.
When is this modded sever gonna be up and running ... I can't wait !!!  ;D

Who's gonna host it? We need more asian servers. I mean, SIR is the only gpp server close to me... and it is in malaysia.

zolk3ri

  • Posts: 13
  • Turrets: +2/-2
Re: TremX for GPP!
« Reply #21 on: July 24, 2011, 09:49:27 pm »
I have improved the PK3 archive checking. From now, it uses SHA1 encryption instead of MD5.
Server's SHA1 checksum of the PK3 archive (from which the server loaded game.qvm, cgame.qvm and ui.qvm) now stored in a temporary variable.
Of course client is not allowed to see the value of the temporary variable.

It compares if client's SHA1 checksum of the PK3 archive is equal with the server's SHA1 checksum of the PK3 archive or not.
If not, it's not the same, means the player gets disconnected by the server.

According to kevlarman, I can't checksum the PK3 archive because PK3 archives with identical contents but different checksums are valid.
He is right but why not be 100 percent sure that the player has the same PK3 archive.
Anyway, if their SHA1 checksum is not equal, it won't actually download from the server yet.
I will be working on it.

IIRC
client creates a string of checksums(pre-computed crc32/adler from the archive) of files in a pk3, add salt sent from the server to it,
and compute the md5 of that string (some files are excluded and qvm files adds flags(IIRC))

when q3 was closed source it was a safer method since you needed checksums of all files in an archive
since it is open source now, it has no advantage

if the pk3 archive of the client is not the same as the distributed one Then they are not the same anyway

but computing SHA1 every time you connect might add some delay

Yeah, actually it just computes SHA1 of the right PK3 archive.
It does not take too much time though.

zolk3ri

  • Posts: 13
  • Turrets: +2/-2
Re: TremX for GPP!
« Reply #22 on: July 24, 2011, 09:51:11 pm »
When is this modded sever gonna be up and running ... I can't wait !!!  ;D
Well, I don't have any good server. I wish someone could host my mod anyway.
I would appreciate that.

OhaiReapd

  • Guest
Re: TremX for GPP!
« Reply #23 on: July 29, 2011, 07:16:25 pm »
We could get it on our server, or you could talk to Einstein (bburhans) about getting a server up for cheap.

Qrntz

  • Posts: 847
  • Turrets: +204/-12
Re: TremX for GPP!
« Reply #24 on: July 30, 2011, 03:45:47 am »
Or MG's hosting. Or even me. Whatever.
There is a whole range of possibilities.
« Last Edit: July 30, 2011, 04:01:27 am by Qrntz »

You make up Qrntz, u always angry, just calmdown. :police:
I am stupid idiot who dares to open mouth and start debating

OhaiReapd

  • Guest
Re: TremX for GPP!
« Reply #25 on: August 01, 2011, 07:37:11 pm »
The Server is officially up! I will be setting up forums for admin crap and etc.

Come join us!

Chomps123

  • Posts: 341
  • Turrets: +4/-15
Re: TremX for GPP!
« Reply #26 on: September 09, 2011, 05:47:46 pm »
How bout make the mod more like the current KorX. ;)

Can't you just take the textures from the current KorX and put them in the mod? :-\

I would play with this mod once it seemes more like todays KorX. ;D

But you might need to remake the models maby. :(
Don't just live life with work.
Find some time every day to have some fun. ;)

ULTRA Random ViruS

  • Posts: 924
  • Turrets: +4/-101
    • ZdrytchX's reference website
Re: TremX for GPP!
« Reply #27 on: September 10, 2011, 09:50:06 am »
How bout make the mod more like the current KorX. ;)

Can't you just take the textures from the current KorX and put them in the mod? :-\

I would play with this mod once it seemes more like todays KorX. ;D

That would become KoRx, "remade".

KoRx is a TremX mod, with added classes and buildables, and different textures.

vcxzet

  • Posts: 467
  • Turrets: +21/-13
Re: TremX for GPP!
« Reply #28 on: September 13, 2011, 02:35:14 pm »
korx textures are disturbing

Chomps123

  • Posts: 341
  • Turrets: +4/-15
Re: TremX for GPP!
« Reply #29 on: September 18, 2011, 01:36:27 am »
Why do you say that? :-\
Don't just live life with work.
Find some time every day to have some fun. ;)

ULTRA Random ViruS

  • Posts: 924
  • Turrets: +4/-101
    • ZdrytchX's reference website
Re: TremX for GPP!
« Reply #30 on: September 20, 2011, 01:15:01 am »
Humans are all blue, wearing priest hats. Thats what i first thought when i first tried korx.

wolfbr

  • Posts: 222
  • Turrets: +5/-25
Re: TremX for GPP!
« Reply #31 on: September 24, 2011, 03:58:23 am »
you can use effects and textures from my mod if you if you want, maybe, modify the effects a little, for not slow down fps in old computers : )

ULTRA Random ViruS

  • Posts: 924
  • Turrets: +4/-101
    • ZdrytchX's reference website
Re: TremX for GPP!
« Reply #32 on: October 04, 2011, 05:09:57 pm »
Can't compile:
Code: [Select]
make[2]: `build/release-linux-x86/base/gamex86.so' is up to date.
make[2]: `build/release-linux-x86/base/uix86.so' is up to date.
yacc  src/tools/lcc/lburg/gram.y
make[2]: yacc: Command not found
make[2]: *** [src/tools/lcc/lburg/gram.c] Error 127
make[2]: Leaving directory `/home/user/Desktop/Tremx/TremX'
make[1]: *** [targets] Error 2
make[1]: Leaving directory `/home/user/Desktop/Tremx/TremX'
make: *** [release] Error 2
user@ubuntu:~/Desktop/Tremx/TremX$ ^C
user@ubuntu:~/Desktop/Tremx/TremX$

What is this yacc thing? How do i get it?

__________________________________

Where do i get the OLD 1.1 TremX? (the one where the adv dretch and adv rant was invented)
I also don't remember a adv marauder sniping though in that 1.1 version.
« Last Edit: October 04, 2011, 05:54:09 pm by ULTRA Random ViruS »

Ingar

  • Tremulous Developers
  • *
  • Posts: 554
  • Turrets: +302/-7
    • Ingar's projects on the Web
Re: TremX for GPP!
« Reply #33 on: October 04, 2011, 06:50:30 pm »
You probably need the bison package.

Chomps123

  • Posts: 341
  • Turrets: +4/-15
Re: TremX for GPP!
« Reply #34 on: October 05, 2011, 04:06:07 pm »
you can use effects and textures from my mod if you if you want, maybe, modify the effects a little, for not slow down fps in old computers : )

Funny part is I have done that with the 1.1 korx. :D
Don't just live life with work.
Find some time every day to have some fun. ;)

ULTRA Random ViruS

  • Posts: 924
  • Turrets: +4/-101
    • ZdrytchX's reference website
Re: TremX for GPP!
« Reply #35 on: October 08, 2011, 07:28:07 am »
You probably need the bison package.

I'm not a ubuntu expert so i wasn't sure how to get it. But i tried a way but an error came up:

Code: [Select]
~$ aptitude install bison
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
I'm not sure aout the first line, and second line i am in root folder.

gimhael

  • Posts: 546
  • Turrets: +70/-16
Re: TremX for GPP!
« Reply #36 on: October 08, 2011, 10:55:38 am »
try
Code: [Select]
sudo aptitude install bison

RAKninja-Decepticon

  • Posts: 843
  • Turrets: +14/-679
    • Stupid Videos
Re: TremX for GPP!
« Reply #37 on: October 08, 2011, 08:58:45 pm »
You probably need the bison package.

I'm not a ubuntu expert so i wasn't sure how to get it. But i tried a way but an error came up:

Code: [Select]
~$ aptitude install bison
E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?
I'm not sure aout the first line, and second line i am in root folder.

both lines relate to the same error, you do not have the priviledges needed (root) to run that program as the user you are logged in as.

you can  as gimhael said without explaining why, the sudo command runs a program as root (admin).
Note 4: The best, although not always easiest, way to deal with trolls is thus: do not respond at ALL in the thread.
Main Rules
4.) No spamming or advertising (includes useless multi-posts and bumps.)
6b.) Do NOT harass other members.
  6c.) Do NOT troll!

ULTRA Random ViruS

  • Posts: 924
  • Turrets: +4/-101
    • ZdrytchX's reference website
Re: TremX for GPP!
« Reply #38 on: October 10, 2011, 05:07:17 pm »

both lines relate to the same error, you do not have the priviledges needed (root) to run that program as the user you are logged in as.

you can  as gimhael said without explaining why, the sudo command runs a program as root (admin).
There's only one user on ubuntu because its a virtual machine.

Thx anyways.
***My tremded won't work, [can't find an IP socket, 'too many open files' it says] and my trem-gpp's client, when i change the fs_game to something else it says it is write-protected. So i tried the old-fasioned way of using the menu, 'mods'. I double click on TremX [i don't have tremx from 1.1 anymore, so i used this name] and my screen starts doing the fullscreen trick, except this time it never came out of fullscreen. I can't switch programs, all i can do is turn up and down the brightness of the screen and volume, and force-shutdown the computer by holding the off button. Nothing else works.

[I never fixed this 'glitch' on my computer, i just created a shortcut through Steam and somehow it worked. Refer to this topic: http://tremulous.net/forum/index.php?topic=15993.0 Apperently it still hasn't been solved so im temporary on steam and the problems are comming back slowly, starting with the default tremulous menu and data-1.1.0.pk3 not being found although it is there.]

EDIT: i forgot to tell you why i needed to compile this qvm: its so i can get the ui.qvm to see if it solves the TremX problem [it never worked when i download straight from the server].

Will this qvm work for normal gpp? [%appdata% (on my computer it is library)/tremulous/gpp] Gpp is the only 'mod' that works with my gpp client right now, with an exception of Flying Alien test. Flying alien test only worked once, just before the mega crash half a year ago Then it continued crashing.
« Last Edit: October 10, 2011, 05:11:31 pm by ULTRA Random ViruS »

Chomps123

  • Posts: 341
  • Turrets: +4/-15
Re: TremX for GPP!
« Reply #39 on: April 01, 2012, 04:28:06 pm »
Can someone re-upload the latest version of this mod
Don't just live life with work.
Find some time every day to have some fun. ;)

Chomps123

  • Posts: 341
  • Turrets: +4/-15
Re: TremX for GPP!
« Reply #40 on: April 02, 2012, 02:02:39 pm »
not helpful
« Last Edit: May 21, 2012, 11:25:15 pm by Chomps123 »
Don't just live life with work.
Find some time every day to have some fun. ;)

Chomps123

  • Posts: 341
  • Turrets: +4/-15
Re: TremX for GPP!
« Reply #41 on: May 21, 2012, 11:25:01 pm »
Sorry for the double post but I was wondering if I get the newest version of the mod.
Don't just live life with work.
Find some time every day to have some fun. ;)

E-Mxp

  • Posts: 722
  • Turrets: +27/-10
Re: TremX for GPP!
« Reply #42 on: May 22, 2012, 08:21:07 am »
You should connect to the KorX server.