Raised This Month: $ Target: $400
 0% 

need help editing goldeneye 64 mod


  
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Author Message
dballs442
Member
Join Date: Feb 2007
Location: Duarngo CO
Old 09-16-2007 , 16:16   need help editing goldeneye 64 mod
Reply With Quote #1

I personally dont script and need some help with some mods i had made for me. the original scripter has started school and does not have time to help me anymore. if anyone can help edit/ fix this plug it would be much appreciated.


the plugin is a take off of a map chooser (like deags or mapchooser.amxx) i run a goldeneye 64 free for all death match server.(cs 1.6 72.5.102.38:27015 to check it out) I am using CSDM 2.1 set to free for all mode. at 45 kills by any one player there is a map vote of 4 choices. top three come from one folder (mapchooser/maps.ini) and the 4th choice comes from another folder (mapchooser/speacial.ini) and at 50 kills that person wins the round and at the ends it says in the lower corner "so and so wins" "2nd place is so and so" and "3rd place is so and so" and then the map changes (after 13 secs of chat time). now my problems are these:

1. (MOST IMPORTANT FIX) the forth map choice is messed up. remember it comes from a different folder. the choices will read something like

1. de_complex
2. fy_basement_b1
3. de_temple_b3
4. pd_area51_b1

but when you choose #4 it will say in the little yellow letters in the lower left hand corner where you type to each other: "dballs chooses cs_complex" or whatever and not "dballs chooses pd_area51_b1" as in the above example. it will just pick the map that is the 4th line in the special.ini folder (see below) and not what it says in the vote. and then change to the wrong map! If the 4th choice wins it will change to whatever is the next map in the mapcycle.txt.

I have figured out that the choice that shows up in the little yellow letters ex: "dballs chooses cs_complex" is the 4th line in the speacial.ini folder. so the folder looks like this:

cs_facility
cs_facility_full
cs_facility2k
cs_complex
fy_stack_goldeneye
cs_007bunker
de_007stack
pd_area51_b1

cs_complex being the 4th choice down is what comes up. im sure this can help in fixing this problem.
(i have temporarily made my special.ini folder empty so ppl dont get too angry)

2. rockthevote is still in effect. so if 60% ppl type rockthevote or RTV then there is a map vote but some times (most the time if not every time) once the vote is over and it says "next map is: de_mapname" in green letters in the upper left hand corner. but the map never changes. and it should within so much time (60 secs). sometimes it does work though. perhaps if more ppl come during the vote it thinks only 50% of ppl voted? i dont know.


3. if i nominated a map from the speacial.ini (4th choice) folder it will be in the top 3 choices and i would like it to be in the 4th choice. in its place.


4. if i nominated a map that was going to be in the vote already there will be 2 of the same map choices. ex:

i nominated fy_007_stack. vote sometimes reads:

1. fy_007_stack
2. fy_007_stack
3. ge_eqyptian
4. cs_facility_full

5. the 2nd and 3rd place ranking at the end of the round does not always work correctly.
ex: dballs would have 50 kills JoeJohn would have 49 kills and Raptor would have 46 kills but at the end of the game it will say

dballs WON!
2nd Raptor
3rd howie123 (random other in the server)

i think this hast to do with who's on what team and what it reads the scores team by team. im not sure about that though. or it could be due to my throwing knife mode i have on there.

6. i have a throwing knife mod on my server. if you make your final kill with a throwing knife the game does not end. that person gets 50 kills then 51. game should end when that person gets 50 kills. as well there is no vote at 45 kills if the 45th kill was done with a throwing knife. perhaps thats a problem in the throwing knife mod which i do have the .sma for (i had to have it tweaked with already to work with the free for all mode. its not the same source code as it is on amxmodx.org)

7.there is a 3rd file full of map names called "empty.ini" and these maps were for when there is no "real" person in the server, just bots. this folder doesn't work. which isn't a big problem for the rotation of the maps still come from mapcycle.txt folder when no one is in the server but bots. I'm just saying this could be deleted if need be or is causeing problems / conflicts.


SOUND RELATED PROBLEMS:

8. I tried moding this throwing knife mod for cs 1.6 to play a diffrent sound and i am getting this error in console and i think its crashing my server sometimes:

"WARNING! Custom/knife_hitwall1.wav is causing runtime sample conversion!"

is this bad? i changed "weapons/knife_hitwall1.wav" to "Custom/knife_hitwall1.wav" both on line 394 and in the precache section (line 552 in the original or line 554 on the one i had moded to work with free for all death match.) heres a link to the original code: http://forums.alliedmods.net/showthread.php?p=19610 and ive attached what i have on my server now.

9. I use an advanced music player in my server and when i use -dev i can see this in console:

Missing RIFF/WAVE chunks
music/OHB.mp3 is a stereo sample
Missing RIFF/WAVE chunks
music/Menu.mp3 is a stereo sample
Missing RIFF/WAVE chunks
music/Pause.mp3 is a stereo sample
Missing RIFF/WAVE chunks
music/Facility2.mp3 is a stereo sample
ect...

however when i look at these files they say that they are mono. strange. i converted them to be mono yet they say they are stereo samples. anyone got an idea? Ive attached a source for this plugin. someone said i should use precache_generic instead of precache_sound. this might help?



let me know if you can do anything with the .sma. here is my ip for my server: 72.5.102.38:27015 to get a better idea of how all this works.


last error log 12 days ago (9-4-07):
L 09/04/2007 - 18:08:49: Start of error session.
L 09/04/2007 - 18:08:49: Info (map "fy_facility_007") (logfile "error_090407.log")
L 09/04/2007 - 18:08:49: [CSTRIKE] Invalid player 8
L 09/04/2007 - 18:08:49: [AMXX] Run time error 10 (plugin "csdm_main.amxx") (native "cs_get_user_shield") - debug not enabled!
L 09/04/2007 - 18:08:49: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes).

error b4 this one was a month b4 this for a plugin i no longer use or have on the server.

i find no errors in my mapchooser.log.

again i don't script at all so please don't get to technical with me. i probably wont understand. if you can help at all it would appreciated if you made the changes in the code and attached the new sma(s).

Thanks for your time!
dballs
Attached Files
File Type: sma Get Plugin or Get Source (mapchooser2.sma - 887 views - 15.1 KB)
File Type: sma Get Plugin or Get Source (throwing_knives.sma - 889 views - 19.6 KB)
File Type: sma Get Plugin or Get Source (AdvancedMusicPlayer.sma - 907 views - 8.5 KB)

Last edited by dballs442; 01-02-2008 at 03:48. Reason: new prolem with throwing knife mod came up
dballs442 is offline
Send a message via AIM to dballs442
 



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 16:10.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode