Author Topic: MountainClimbing 1.7  (Read 12648 times)

0 Members and 1 Guest are viewing this topic.

DarkCrusade

  • Guest
MountainClimbing 1.7
« on: April 26, 2010, 06:54:49 am »
Full Description:
Script Name: MountainClimbing 1.7
Script Description Climb Mode
Author: DarkCrusade
Compile Test: Passed
Core Version: 2.6.5
Hosted by: Soldat Central - http://soldatcentral.com/

Full Description:
MountainClimbing was pretty famous one year back and I didn't find any scripts for it so I decided to code it myself. The result was version 1.0. I worked further on the script and added more features for admins and users, check the new script!

The point of MountainClimbing is, that the player climbs up a mountain with nothing more than his hands and feet. If he falls, he falls hard and looses health, so basically it's a more extreme version of climbing. The maps are huge and you need a lot of practice to master this gamemode!

Since BattleyEye is gone I added a MassFlag detection that is pretty basic but working. Hackers will be banned and reported to the admin console with IP and name for further punishment should they decide to come back with a changed IP.

v1.7 update:
-fixed (hopefully) all bugs

V1.69 update:
-changed the highscore table (creates a file for every map in the maplist.txt)
-fixed !heal
-fixed the interface
-fixed the access violation for Linux hosters 

V1.65 update:
-added more admin commands
-added idle kicker
-added map highscores
-added interface that shows you power/saves ...
-added MassFlag detection
-fixed !nextmap
-fixed /move (to move players to yourself use /port)

V1.2 update:
-added !undo command for players
-added admin commands (list below)
-limited hardcoding stuff

V1.0 includes:
- Save/Load system
- HP regeneration (as long as a players health is below 50)
- Nextmap vote
- AntiBravo
- !heal command

Also you can adjust everything at the top of the script such as vote percentage or how often you can save/load/heal and such stuff. I release this script to see - hopefuly - some MountainClimbing servers again. Here are some links to mountainclimbing maps:

Download Mappack
Bruns Summit v3
Eisberg
Canyon
BlackRock
Devils Cleft

The list contains only the best maps for the gamemode, there are more but you loose the 'feeling the mountain' effect due to their crappy looks. If this mode gets famous again I won't refrain from making new maps so it won't get abandoned again.

SETTINGS: ------------------------------------
Mode: CTF
Playerlimit: -
Speclimit: 1
Weapons: none
Realistic: On

ADMINCOMMANDS: -----------------------------
/acommands                Display all admin commands
/setpower <Value>       MaxPower setting for !health
/setsaves  <Value>       MaxSaves  setting for !save
/setloads  <Value>       MaxLoads  setting for !load
/setlimit    <Value>       VoteLimit  setting for !nextmap
/setreg     <Value>       Health regeneration rate
/setidle     <Value>       Maximum idle time in spectator
/setregl    <Value>       Limit for health regeneration
/move <ID1> <ID2>     Move ID1 to ID2, ID2 may not be your own
/port <ID1> ... <ID3>  Move up to 3 IDs to your position
/god        <ID>            Grant god powers to <ID> (no damage by falling)
/resettimers                 Reset all timers
/showtimers                 Displays everyones time
/resethigh                    Reset the highscores

This is the old version. Due to problems that occured at SoldatCentral that have not been fixed yet you must please click on this link: Mirror


(Size 6.66 KB)
- http://soldatcentral.com/index.php?page=script&f=189 -


** Script hosted by Soldat Central! Please visit the author's script page and Rate this script **
« Last Edit: July 17, 2010, 09:37:12 am by DarkCrusade »

Offline Gizd

  • Flagrunner
  • ****
  • Posts: 586
  • (Re)tired
    • Eat-this! community site
Re: MountainClimbing 1.0
« Reply #1 on: April 26, 2010, 09:00:58 am »
1. Try to use some prefixes for consts referring to same kind of thing, in example put "cl" in front of colors.
2. You should add /undo for people who save in wrong place and get killed on respawn.
3. Chat commands SUCK.
4. Limit hardcoding stuff, in example amount of heal per second, it should be a const.

That's quite all. Haven't expected such a clear code from you...

Offline DorkeyDear

  • Veteran
  • *****
  • Posts: 1507
  • I also go by Curt or menturi
Re: MountainClimbing 1.0
« Reply #2 on: April 26, 2010, 10:08:19 am »
Relating to code convention: you sometimes use 2 spaces, other times have a tab; i guess from copy pasting from other scripts, but would be nice if its all the same ^^

FirstJoin not a boolean? O.o

good job tho
« Last Edit: April 26, 2010, 10:09:53 am by DorkeyDear »

DarkCrusade

  • Guest
Re: MountainClimbing 1.0
« Reply #3 on: April 27, 2010, 06:12:59 am »
@Curt: The script is mine to 100%. No copy/paste stuff. I'll take a look at what you've mentioned. The thing about FirstJoin was doable in different ways, I've only chosen one possible :P

@Gizd: Colors are already described as colors, I don't need to use a prefix for them, the /undo command sounds like a good idea, though. But why do chat commands suck? I don't understand what's wrong about them, and they are what most Soldat players understand. You know those noobs who cannot get a hang of what a slash is about and just leave instead of try for a few minutes so I just left it like that.

@Mr Dominikk:
1: Never ever post such a big code like that. Delete it.
2: You will never ever need nades for mountainclimbing.
« Last Edit: April 27, 2010, 07:17:53 am by DarkCrusade »

Offline Bistoufly

  • Soldat Beta Team
  • Flagrunner
  • ******
  • Posts: 782
Re: MountainClimbing 1.0
« Reply #4 on: April 27, 2010, 09:59:59 am »
Greetings

Wow Mountain climbing :)

I've missed this so much. Hope someone is willing to host this mode again.

One thing tho: Please remove the save/load function. It's the plague of climbing servers.
And it really doesn't fit mountain climbing at all.

Anyway thank you for the time and effort you put in this.

DarkCrusade

  • Guest
Re: MountainClimbing 1.0
« Reply #5 on: April 27, 2010, 11:01:36 am »
When you host the script with the maps you are able to configurate the settings for the scripts. Everything is described in the script, just set save and load = 0 ;)

Offline DorkeyDear

  • Veteran
  • *****
  • Posts: 1507
  • I also go by Curt or menturi
Re: MountainClimbing 1.0
« Reply #6 on: April 27, 2010, 01:39:49 pm »
@DarkCrusade: I didn't mean to imply you stealing off of other people; just mean copy paste (from wherever, including your old scripts / a copy of the same script / wahtever); Guess coding style transition :P


Offline Gizd

  • Flagrunner
  • ****
  • Posts: 586
  • (Re)tired
    • Eat-this! community site
Re: MountainClimbing 1.0
« Reply #7 on: April 28, 2010, 09:22:24 am »
@Gizd: Colors are already described as colors, I don't need to use a prefix for them
You don't need to use next-line-chars as well...

But why do chat commands suck? I don't understand what's wrong about them, and they are what most Soldat players understand. You know those noobs who cannot get a hang of what a slash is about and just leave instead of try for a few minutes so I just left it like that.
It's their problem and noone likes to see other people's commands. Chat commands are only used for stuff affecting ALL players so they can see who caused that.

Offline Polifen

  • Soldier
  • **
  • Posts: 127
Re: MountainClimbing 1.0
« Reply #8 on: April 29, 2010, 12:00:06 am »
Cool, i could host it for one more time ( mix it with my climb, some vote to turn it on/off ), but i also need maps, do you still have 'em with textures and sceneries?

Edit: Also, medkits are better than HP regeneration.
« Last Edit: April 29, 2010, 12:06:11 am by Polifen »

DarkCrusade

  • Guest
Re: MountainClimbing 1.0
« Reply #9 on: April 29, 2010, 12:53:29 am »
@Curt: I wasn't able to find any line that included a tab, if you want, show me the relevant lines and I'll fix it.
@Gizd: Playability > Looks
@Polifen: I'll add links to the maps asap! Right now I'm working on 1.2 which will include some admin commands and stuff like that, also I reduce the amount of hardcoding for the sake of being able to configure the script a little more :P

Offline smiluu

  • Flagrunner
  • ****
  • Posts: 673
  • Put your farts in my pussy
    • LOLOKAUST MSPAINT PLEASURE POND
Re: MountainClimbing 1.0
« Reply #10 on: April 29, 2010, 01:02:53 am »
Wasn't one of the major points of mountain climbing that you die if you keep falling too much?

DarkCrusade

  • Guest
Re: MountainClimbing 1.0
« Reply #11 on: April 29, 2010, 01:33:55 am »
Indeed

Offline Polifen

  • Soldier
  • **
  • Posts: 127
Re: MountainClimbing 1.2
« Reply #12 on: April 29, 2010, 02:39:05 am »
That's why i prefer medkits than health regeneration, but i will do it on myself :).

DarkCrusade

  • Guest
Re: MountainClimbing 1.2
« Reply #13 on: April 29, 2010, 09:02:11 am »
I'd be willing to create more maps for MountainClimbing if you host the script, 5 maps sound like a little amount, right? :S

Offline Swompie

  • Camper
  • ***
  • Posts: 390
Re: MountainClimbing 1.2
« Reply #14 on: April 29, 2010, 09:35:00 am »
Some things I noticed while looking at the code:
!undo should kill the player aswell deleting his last save position or it would make no sense.
It says in a message to use !health to regenerate Hp, but the command actually is !heal.
I'd like to see that the message is sent to everyone on the server when an admin changes a setting.



Good work btw.
I'd liked to try it when someone is willing to set up an server..

DarkCrusade

  • Guest
Re: MountainClimbing 1.2
« Reply #15 on: April 29, 2010, 11:35:25 am »
You are so right, Swomp ... the way I coded it it would totally be abused a lot ...

Offline Swompie

  • Camper
  • ***
  • Posts: 390
Re: MountainClimbing 1.2
« Reply #16 on: April 29, 2010, 11:48:42 am »
You are so right, Swomp ... the way I coded it it would totally be abused a lot ...
Just saying the truth and stuff you could improve :] I like to have my scripts as perfect as I can, Idk how you like them.. ;P

DarkCrusade

  • Guest
Re: MountainClimbing 1.2
« Reply #17 on: April 29, 2010, 11:51:40 am »
No I didn't say you were talking trash, you are right

Offline Swompie

  • Camper
  • ***
  • Posts: 390
Re: MountainClimbing 1.2
« Reply #18 on: April 29, 2010, 12:03:42 pm »
Oh, come'on!

Offline DorkeyDear

  • Veteran
  • *****
  • Posts: 1507
  • I also go by Curt or menturi
Re: MountainClimbing 1.2
« Reply #19 on: April 29, 2010, 04:46:25 pm »
Lines with tabs: 36, 37, 38; 39 (after end;); 48; 55; 63; 86 (again after end;); 92, 93, 94; 95; 96 (after end;); 109 (before a comment), 110, and many more. Yay for Notepad++'s search function. Its extremely nice to "search all" it has a little window which highlights everything (unfortunately not in the edit window; like in open office where you can select text in more than one location and edit); not sure if you have Notepad++ tho, but it is nice :)
I hope that wasn't too abrupt (uhm im not sure if that was the word i was looking for xD) i didn't wanna sound mean / like a bad person in any of my comments.

DarkCrusade

  • Guest
Re: MountainClimbing 1.2
« Reply #20 on: April 29, 2010, 04:47:43 pm »
Noone who has posted here yet has been rude or anything, thank you for your comment :P I fixed all you've mentioned but I will not try to 'fix' more since the script is readable as it is now and users shouldn't work much on it at all :P
« Last Edit: April 29, 2010, 04:54:49 pm by DarkCrusade »

Offline Bonecrusher

  • Global Moderator
  • Veteran
  • *****
  • Posts: 1397
  • High above
    • Zabijaka.pl
Re: MountainClimbing 1.2
« Reply #21 on: May 12, 2010, 12:45:23 pm »
I can host this mode for a try and see if it will become popular, DarkCrusade contact me via PM for more info ;)

Im chill like that

Offline Bistoufly

  • Soldat Beta Team
  • Flagrunner
  • ******
  • Posts: 782
Re: MountainClimbing 1.2
« Reply #22 on: May 12, 2010, 12:57:31 pm »
Thx BoneCrusher  :)

I suppose that it will not be popular for a long time because there is not a lot of mountain climb maps.

But these maps are high quality.
And I'm looking forward to come play on your server.
 ;)



Offline Bonecrusher

  • Global Moderator
  • Veteran
  • *****
  • Posts: 1397
  • High above
    • Zabijaka.pl
Re: MountainClimbing 1.2
« Reply #23 on: May 12, 2010, 02:04:37 pm »
188.40.141.205:23074
s3.zabijaka.pl:23074
Server location: Gunzenhausen/Germany

max players: 12
realistic is on
all weapons are disabled

Im chill like that

Offline PKS|Shooter

  • Soldier
  • **
  • Posts: 130
  • Dont fuck with us!
    • PKS - La Familia
Re: MountainClimbing 1.2
« Reply #24 on: May 13, 2010, 04:39:06 am »
here you got an Mappack so you dont need to download the maps 1 by 1

Download MountainClimbing MapPack

DarkCrusade

  • Guest
Re: MountainClimbing 1.2
« Reply #25 on: May 13, 2010, 04:55:57 am »
Thank you, Shooter, I added the link to the first post :)

Offline PKS|Shooter

  • Soldier
  • **
  • Posts: 130
  • Dont fuck with us!
    • PKS - La Familia
Re: MountainClimbing 1.2
« Reply #26 on: May 13, 2010, 12:40:43 pm »
Thank you, Shooter, I added the link to the first post :)

thanks dude

i got some errors for you :P
Quote
(19:38:15) Connecting to 88.198.25.26:53456...
(19:38:16) Soldat Admin Connection Established.
(19:38:16) Welcome, you are in command of the server now.
(19:38:16) List of commands available in the Soldat game Manual.
Using REFRESHX v2.6.5
(19:38:16) Server Version: 2.6.5
(19:38:17) /friendlyfire (92.224.54.93)
(19:38:17) 
  • [Error] Mountain 1.2 -> (OnCommand): '' is not a valid integer value

(19:38:17) Friendly Fire is 0
(19:38:17) /bonus (92.224.54.93)
(19:38:17) 
  • [Error] Mountain 1.2 -> (OnCommand): '' is not a valid integer value

(19:38:17) Current bonus frequency is 1
(19:38:18) /vote% (92.224.54.93)
(19:38:18) 
  • [Error] Mountain 1.2 -> (OnCommand): '' is not a valid integer value

(19:38:18) Voting percent is 60
(19:38:18) /respawntime (92.224.54.93)
(19:38:18) 
  • [Error] Mountain 1.2 -> (OnCommand): '' is not a valid integer value

(19:38:18) Respawn time is 5 seconds
(19:38:18) /maxrespawntime (92.224.54.93)
(19:38:19) 
  • [Error] Mountain 1.2 -> (OnCommand): '' is not a valid integer value

(19:38:19) Maximum Respawn time is 6 seconds
(19:40:14) /say [Shooter] test (92.224.54.93)
(19:40:14) 
  • [Error] Mountain 1.2 -> (OnCommand): '[Shooter]' is not a valid integer value
this erros are displayed when im logging in with arsse and write for example

Offline Gizd

  • Flagrunner
  • ****
  • Posts: 586
  • (Re)tired
    • Eat-this! community site
Re: MountainClimbing 1.2
« Reply #27 on: May 13, 2010, 01:46:08 pm »
Code: [Select]
    Piece1 := GetPiece(Text,' ',0);
    Piece2 := GetPiece(Text,' ',1);
Piece3 := GetPiece(Text,' ',2);
So fail... you didn't expect that admin can write something that doesn't have 2 space delimetered parameters after command itself?

DarkCrusade

  • Guest
Re: MountainClimbing 1.2
« Reply #28 on: May 13, 2010, 10:04:19 pm »
Yeah, obviously ... I'll release my 1.5 version now where i already fixed that issue

Offline Polifen

  • Soldier
  • **
  • Posts: 127
Re: MountainClimbing 1.2
« Reply #29 on: May 14, 2010, 12:39:31 am »
188.40.141.205:23074
s3.zabijaka.pl:23074
Server location: Gunzenhausen/Germany

max players: 12
realistic is on
all weapons are disabled

Realistic is off, turn it on. Turn off AntiMassFlag ( it's in server.ini as i remember ).

Offline Bonecrusher

  • Global Moderator
  • Veteran
  • *****
  • Posts: 1397
  • High above
    • Zabijaka.pl
Re: MountainClimbing 1.2
« Reply #30 on: May 14, 2010, 02:07:37 am »

Realistic is off, turn it on. Turn off AntiMassFlag ( it's in server.ini as i remember ).
[/quote]

realistic is pointless due to !heal

Im chill like that

DarkCrusade

  • Guest
Re: MountainClimbing 1.2
« Reply #31 on: May 14, 2010, 02:20:20 am »
Bonecrusher, you can set the script settings in the .PAS file. Realistic should be turned on since you die when you fall too much and !heal gets pointless without it and it's the opposite way: !heal gets pointless if realistic is turned off :P

Offline Bistoufly

  • Soldat Beta Team
  • Flagrunner
  • ******
  • Posts: 782
Re: MountainClimbing 1.2
« Reply #32 on: May 14, 2010, 08:36:44 am »
Seriously! Mountain climb needs realistic turned on.
Otherwise it's not mountain climbing anymore.

DarkCrusade

  • Guest
Re: MountainClimbing 1.65
« Reply #33 on: May 16, 2010, 06:35:24 am »
Fixed the bug that caused OnCommand to return some annoying error. I added some new fancy features, too.

Offline Bonecrusher

  • Global Moderator
  • Veteran
  • *****
  • Posts: 1397
  • High above
    • Zabijaka.pl
Re: MountainClimbing 1.65
« Reply #34 on: May 16, 2010, 06:51:53 am »
(13:38:30) 
  • [Error] Mountain 1.6 -> (OnLeaveGame): Too many parameters


always occur when a player leaves the game

Im chill like that

DarkCrusade

  • Guest
Re: MountainClimbing 1.65
« Reply #35 on: May 16, 2010, 07:28:31 am »
I don't know why but I accidently uploaded the wrong version.
Fixed!

Offline PKS|Shooter

  • Soldier
  • **
  • Posts: 130
  • Dont fuck with us!
    • PKS - La Familia
Re: MountainClimbing 1.65
« Reply #36 on: May 17, 2010, 09:58:11 am »
Quote
(16:57:08) /recompile
(16:57:08) 
  • [Error] Mountain 1.65 -> (OnCommand): Access violation at address 0804D7A0, accessing address 00000021

(16:57:08) 
  • ScriptCore v2.6 loaded! Found 2 scripts...

(16:57:09) 
  • Compiling Mountain 1.65 -> MClimbing.pas...

(16:57:09) 
  • Compiling default -> Core.pas...

(16:57:09) 
  • Compiling default -> NetworkCore.pas...

(16:57:09) 
  • Compiling default -> AdminCore.pas...

(16:57:09) 
  • Compilation Complete.


lol wut?

i can do !heal/!save ....  as spec :x
« Last Edit: May 17, 2010, 10:10:01 am by PKS|Shooter »

DarkCrusade

  • Guest
Re: MountainClimbing 1.65
« Reply #37 on: May 17, 2010, 11:58:08 am »
Fixed both

Offline PKS|Shooter

  • Soldier
  • **
  • Posts: 130
  • Dont fuck with us!
    • PKS - La Familia
Re: MountainClimbing 1.65
« Reply #38 on: May 18, 2010, 02:51:10 am »
well not rly true :x
my server is running on linux if that helps :x


Quote
(09:52:10) /recompile
(09:52:11) 
  • [Error] Mountain 1.65a -> (OnCommand): Access violation at address 0804D7A0, accessing address 00000011

(09:52:11) 
  • ScriptCore v2.6 loaded! Found 1 scripts...

(09:52:11) 
  • Compiling Mountain 1.65a -> MClimbing.pas...

(09:52:11) 
  • Compilation Complete.
« Last Edit: May 18, 2010, 02:54:12 am by PKS|Shooter »

DarkCrusade

  • Guest
Re: MountainClimbing 1.65
« Reply #39 on: May 18, 2010, 05:51:09 am »
Oh sorry then, will be fixed as soon as I get home.

Offline Gizd

  • Flagrunner
  • ****
  • Posts: 586
  • (Re)tired
    • Eat-this! community site
Re: MountainClimbing 1.65
« Reply #40 on: May 18, 2010, 05:51:58 am »
Download says it's v1.2 and there's 1.65 in topic.

DarkCrusade

  • Guest
Re: MountainClimbing 1.65
« Reply #41 on: May 18, 2010, 08:52:30 am »
I don't know whether you are either too dumb to click on the right link or it's something else but the download works just fine for me. Current version: 1.65a

Offline Mercury92

  • Camper
  • ***
  • Posts: 284
Re: MountainClimbing 1.65a
« Reply #42 on: May 18, 2010, 10:16:24 am »
Copy-Paste Fail ;)
Quote
Script Name: MountainClimbing 1.65a
Script Description Climb Mode
Author: DarkCrusade
Compile Test:  Passed
Core Version: 2.6.5
Hosted by: Soldat Central - http://soldatcentral.com/

Full Description:
Script Name: MountainClimbing 1.65a
Script Description Climb Mode
Author: DarkCrusade
Compile Test:  Passed
Core Version: 2.6.5
Hosted by: Soldat Central - http://soldatcentral.com/

Full Description:
[saw]  on 1.5.1

DarkCrusade

  • Guest
Re: MountainClimbing 1.65a
« Reply #43 on: May 18, 2010, 10:37:29 am »
I fixed the post but I have no bloody idea what causes the violation. Do you have any problems with hosting the script? Please test all functions!

Offline Gizd

  • Flagrunner
  • ****
  • Posts: 586
  • (Re)tired
    • Eat-this! community site
Re: MountainClimbing 1.65a
« Reply #44 on: May 18, 2010, 11:48:52 am »
Code: [Select]
///////////////////////////////////////////
// Mountain Climbing -v1.2- by DarkCrusade
Yeah, I wish luck to people who want to know which version they have.

DarkCrusade

  • Guest
Re: MountainClimbing 1.65a
« Reply #45 on: May 18, 2010, 11:52:40 am »
Seriously, I don't know where the hell you got the download link for v1.2 but it's updated to 1.65a. As you seem to be the only person to have trouble with this you may ask me to upload it somewhere else so you can get it anyways.

Offline Gizd

  • Flagrunner
  • ****
  • Posts: 586
  • (Re)tired
    • Eat-this! community site
Re: MountainClimbing 1.65a
« Reply #46 on: May 18, 2010, 02:06:57 pm »
Seriously, I don't know where the hell you got the download link for v1.2[...]
From the first post. 1.65 is in zip name but content says it's 1.2.

DarkCrusade

  • Guest
Re: MountainClimbing 1.65a
« Reply #47 on: May 18, 2010, 02:31:52 pm »
As I stated it works just fine for everyone else. I got that you are having problems with it and asked you to PM me if you want to have it instead of

From the first post. 1.65 is in zip name but content says it's 1.2.
Yeah, I wish luck to people who want to know which version they have.
Download says it's v1.2 and there's 1.65 in topic.

Spamming here like there was no tommorow.

Offline Kentoss

  • Major(1)
  • Posts: 5
Re: MountainClimbing 1.65a
« Reply #48 on: May 18, 2010, 03:09:39 pm »
Code: [Select]
///////////////////////////////////////////
// Mountain Climbing -v1.2- by DarkCrusade
Yeah, I wish luck to people who want to know which version they have.

Code: [Select]
/////////////////////////////////////////////////////////////
//   |\   /|        ____                               //  //
//   | \_/ |       / ___\                              //  //
//   |  _  |       | |                                 //  //
//   | | | |outain | |___limbing 1.65a                 //  //
//   |_| |_|       \____/                              //  //



Looks fine to me.

Offline PKS|Shooter

  • Soldier
  • **
  • Posts: 130
  • Dont fuck with us!
    • PKS - La Familia
Re: MountainClimbing 1.65a
« Reply #49 on: May 20, 2010, 02:10:02 pm »
Quote
(21:08:00) Connecting to 88.198.25.26:53456...
(21:08:00) Soldat Admin Connection Established.
(21:08:00) Welcome, you are in command of the server now.
(21:08:02) List of commands available in the Soldat game Manual.
Using REFRESHX v2.6.5
(21:08:03) Server Version: 2.6.5
(21:08:03) /friendlyfire
(21:08:03) 
  • [Error] Mountain 1.65a -> (OnCommand): Access violation at address 0804D7A0, accessing address 00000029

(21:08:03) Friendly Fire is 0
(21:08:03) /bonus
(21:08:03) 
  • [Error] Mountain 1.65a -> (OnCommand): Access violation at address 0804D7A0, accessing address 00000019

(21:08:04) Current bonus frequency is 1
(21:08:04) /vote%
(21:08:04) 
  • [Error] Mountain 1.65a -> (OnCommand): Access violation at address 0804D7A0, accessing address 00000009

(21:08:04) Voting percent is 60
(21:08:04) /respawntime
(21:08:04) 
  • [Error] Mountain 1.65a -> (OnCommand): Access violation at address 0804D7A0, accessing address 00000019

(21:08:04) Respawn time is 5 seconds
(21:08:05) /maxrespawntime
(21:08:05) 
  • [Error] Mountain 1.65a -> (OnCommand): Access violation at address 0804D7A0, accessing address 00000009

(21:08:05) Shutting down server...
(21:08:05) Maximum Respawn time is 6 seconds
(21:08:07) Shutting down FileServer...
(21:08:08) Shutting down admin server...
(21:08:08) Connection to the server lost

this happens if i login with arrse on v1.65a


DarkCrusade

  • Guest
Re: MountainClimbing 1.65a
« Reply #50 on: May 20, 2010, 02:32:24 pm »
I need more information:
-What happens when you type one of the special admin commands used by the script?
-SoldatServer version
-Soldat version

Offline Gizd

  • Flagrunner
  • ****
  • Posts: 586
  • (Re)tired
    • Eat-this! community site
Re: MountainClimbing 1.65a
« Reply #51 on: May 20, 2010, 02:49:32 pm »
I've discovered that it was my browser being ****. To be honest I would like to not see that, it's the biggest failure I've seen since I saw DrThrax's Double Domination. How could you hardcode maps into the script without even using arrays? Seriously, WHAT THE F***. I could break my nose by facepalming after seeing lines 239-363.
Let's say I've made a map and want to add it, I'd need to edit half of script.
Sorry for harsh comment but this needs it.

DarkCrusade

  • Guest
Re: MountainClimbing 1.65a
« Reply #52 on: May 20, 2010, 02:51:19 pm »
Since MountainClimbing is not developed by mappers anymore (as mapping is abandoned in fact) there is no need for some more dynamic system.

Offline Gizd

  • Flagrunner
  • ****
  • Posts: 586
  • (Re)tired
    • Eat-this! community site
Re: MountainClimbing 1.65a
« Reply #53 on: May 20, 2010, 02:54:50 pm »
You've just made me lose any hope in you.

Offline tk

  • Soldier
  • **
  • Posts: 235
Re: MountainClimbing 1.65a
« Reply #54 on: May 20, 2010, 03:04:02 pm »
I'm just wondering, why are you surprised that SUCH script crashes DC? What did you expect?

DarkCrusade

  • Guest
Re: MountainClimbing 1.65a
« Reply #55 on: May 20, 2010, 03:06:17 pm »
Where am I stating that I am surprised?

Offline tk

  • Soldier
  • **
  • Posts: 235
Re: MountainClimbing 1.65a
« Reply #56 on: May 20, 2010, 03:08:19 pm »
Quote
I fixed the post but I have no bloody idea what causes the violation. Do you have any problems with hosting the script? Please test all functions!
This sounds like you were.

DarkCrusade

  • Guest
Re: MountainClimbing 1.65a
« Reply #57 on: May 20, 2010, 03:21:50 pm »
No. It was an act of not knowing what's wrong. That's not being surprised. This is no place to have a discussion about this things, too, you know? I had quit enough spam already (Gizd..)

Offline dnmr

  • Camper
  • ***
  • Posts: 315
  • emotionally handicapped
Re: MountainClimbing 1.65a
« Reply #58 on: May 21, 2010, 07:18:15 am »
just exit oncommand if ID is 255. And try-except the whole thing.
If you want a more detailed answer: the error is most likely caused by line 666 (who could have thought)

Code: (pascal) [Select]
if GetPiece(Text,' ',1) <> '' thenand so on

The server doesnt like when you try to split stuff that does not exist (or to be more precise the server doesnt give a crap, but the OS doesnt like when the server tries to dig up random stuff from the wrong parts of the ram).

And just to be an ass, i have to agree with gizd on the ugliness of some parts of the code.. Gee, you should know how to use arrays by now
« Last Edit: May 21, 2010, 07:20:47 am by dnmr »

Offline PKS|Shooter

  • Soldier
  • **
  • Posts: 130
  • Dont fuck with us!
    • PKS - La Familia
Re: MountainClimbing 1.65a
« Reply #59 on: May 21, 2010, 12:22:56 pm »
I need more information:
-What happens when you type one of the special admin commands used by the script?
-SoldatServer version
-Soldat version

1. i dont type them there are automatic generated by arsse when you login into the server and sometimes the server is shuting down :X
2. 2.6.5
3. 1.5.0

Offline Swompie

  • Camper
  • ***
  • Posts: 390
Re: MountainClimbing 1.65a
« Reply #60 on: May 21, 2010, 01:10:46 pm »
Can it be so goddam hard to comment a few things out of the script.. pierage:3
I found the error source in not even half a minute  ::)
Code: [Select]
if GetPiece(Text,' ',3) <> '' then
Piece4 := GetPiece(Text,' ',3);

btw. dnmr ftw.^^
« Last Edit: May 21, 2010, 01:29:48 pm by Swompie »

DarkCrusade

  • Guest
Re: MountainClimbing 1.69
« Reply #61 on: May 22, 2010, 10:46:36 am »
1.69 is out. Look at the changelog to see what's new / what has been changed.

Offline Bonecrusher

  • Global Moderator
  • Veteran
  • *****
  • Posts: 1397
  • High above
    • Zabijaka.pl
Re: MountainClimbing 1.69
« Reply #62 on: May 31, 2010, 06:21:12 am »
I'm about to end hosting this mod due to server's unpopularity. It's empty almost 24/7

Im chill like that

DarkCrusade

  • Guest
Re: MountainClimbing 1.7
« Reply #63 on: July 17, 2010, 09:37:28 am »
1.7 is out.

DarkCrusade

  • Guest
Re: MountainClimbing 1.7
« Reply #64 on: May 11, 2013, 04:16:30 am »
Does anyone still have the script? Because I do not and soldatcentral's down.

Offline Bonecrusher

  • Global Moderator
  • Veteran
  • *****
  • Posts: 1397
  • High above
    • Zabijaka.pl
Re: MountainClimbing 1.7
« Reply #65 on: May 11, 2013, 10:08:03 am »

Im chill like that

DarkCrusade

  • Guest
Re: MountainClimbing 1.7
« Reply #66 on: May 11, 2013, 10:10:38 am »
Thanks a lot kind sir. I did not know that it was there :)