MisterQuestions Posted March 8, 2015 Share Posted March 8, 2015 check on mapmananger, at getting maps for gamemode, maybe gets confused with dm arena. modify arena core, definitions, etc... Link to comment
Guedes747 Posted March 22, 2015 Share Posted March 22, 2015 I've been toying around with this gamemode for a bit and I noticed that loading race maps with custom 3D elements doesn't seem to work properly, at first my system completely froze and crashed upon loading a racing map, at second time I got back into the server everything, seemed to load well, apart from said custom 3D models. Does your gamemode support this type of maps by nature or is there something I must add / correct for it to function as intended? Link to comment
Bonsai Posted March 22, 2015 Author Share Posted March 22, 2015 Thats indeed a bug. Somewhere in this topic was a solution how to fix that. Bonsai Link to comment
Guedes747 Posted March 22, 2015 Share Posted March 22, 2015 Thats indeed a bug. Somewhere in this topic was a solution how to fix that. Bonsai I asume you are talking about this By the way!About this lag/crash whatever thing. It wasn't related to timers. I just checked and it is related to replacing dff models. Either fix it yourself by adding a "_", or wait until I maybe upload a fixed version. If so, where is the underscore suppose to go exactly? i can't really make much sense of it by reading previous posts. The custom model files? (i.e: _example1.dff or example2_.dff). EDIT: Ok so based on what I could gather from the previous posts, I changed the following lines on the wrapper_c.lua: engineLoadDFF = function(path, model) local dff = _engineLoadDFF(mapname.."/"..path, model) -- added a "_" -- table.insert(wrapper.models, model) return dff end --Timers _setTimer = function(...) -- Added a "_" -- timer = _setTimer(...) table.insert(wrapper.timers, timer) return timer end The problem still persists regarding the custom 3D models pertaining to racing maps, they just refuse to load, even though everything works fine for DM, DD (Cross) and Shooter maps. I'd really appreciate a little bit more support on this if possible. Link to comment
Bonsai Posted March 24, 2015 Author Share Posted March 24, 2015 That whole wrapper thing is made pretty badly. By now I would do it much different. Replace the whole file with this: http://pastebin.com/kS6AArzZ I'm not sure if it works, but it should make a difference. Bonsai Link to comment
Guedes747 Posted March 24, 2015 Share Posted March 24, 2015 That whole wrapper thing is made pretty badly.By now I would do it much different. Replace the whole file with this: http://pastebin.com/kS6AArzZ I'm not sure if it works, but it should make a difference. Bonsai Yeah it did make a difference, the models load in fine with no lag or crashes this time around, however, it seems that the collisions are not being loaded, car falls right through the object once it's 'released' upon race start. Link to comment
wizzi Posted April 11, 2015 Share Posted April 11, 2015 The script is great , and im verry thankful for sharing it with everyone, but if u plan to update it in the future or whatsoever , i want to point few things out ------------------------------------------------------------------------------------------------------- · The nametag , if the player name is small , the hp bar is also rly small · When you login , example , my password start with "x" , it opens the Group chat in the sametime and writes the pass there (someone may on accident send it to mainchat , etc) · When you select a map in the vote , you change the chat (local/global/all · You cannot create group for the chat · You cannot PM to users · F2 (Car hide) hides the car (in modern) , but the nametag stays (and the healthbar is bugged while carhide is on) The healthbar is biiiiiig mby more than half of the screen · Map weather/time are not loading ------------------------------------------------------------------------------------------------------- One more thing , ive added a userpanel that ive used in "race server", but it seems that it doesnt get map win or etc , can someone help me to make it work for the modern/cross arena ? Thats all Link to comment
MisterQuestions Posted May 5, 2015 Share Posted May 5, 2015 Hey, i got some quick question...at map loading i sawed that the map loader, doesnt load compiled scripts...like y tried to load [DM] Flo v6 (has a compiled script) and doesnt load it...why? Link to comment
Saml1er Posted May 25, 2015 Share Posted May 25, 2015 Hey, i got some quick question...at map loading i sawed that the map loader, doesnt load compiled scripts...like y tried to load [DM] Flo v6 (has a compiled script) and doesnt load it...why? That's mta problem. Try it with race gamemode. It will not work. Link to comment
MisterQuestions Posted May 29, 2015 Share Posted May 29, 2015 Hey, i got some quick question...at map loading i sawed that the map loader, doesnt load compiled scripts...like y tried to load [DM] Flo v6 (has a compiled script) and doesnt load it...why? That's mta problem. Try it with race gamemode. It will not work. Well i tried at normal race, and it load's them, but at bonsai's gamemode doesn't work. Link to comment
Bonsai Posted May 29, 2015 Author Share Posted May 29, 2015 Hey, i got some quick question...at map loading i sawed that the map loader, doesnt load compiled scripts...like y tried to load [DM] Flo v6 (has a compiled script) and doesnt load it...why? That's mta problem. Try it with race gamemode. It will not work. Well i tried at normal race, and it load's them, but at bonsai's gamemode doesn't work. The default race resource doesn't have to take care about loading scripts at all. Link to comment
MisterQuestions Posted May 30, 2015 Share Posted May 30, 2015 True but bons, got any idea why happens this and if its possible to fix it? Link to comment
nasserdfdd Posted August 23, 2015 Share Posted August 23, 2015 am i allowed to use it to open server 'ofcourse after editing it' or i have to give credit's or optinal Link to comment
JR10 Posted August 23, 2015 Share Posted August 23, 2015 It's available for you to download. Yes. Link to comment
Ov3rHell3XoduZ Posted February 21, 2016 Share Posted February 21, 2016 I dont wanna reply on a old thread like this one, but I am trying to download it because I really need it, and the link is down. If someone has it. Please make a mirror. Thanks in advance. Link to comment
Bonsai Posted February 22, 2016 Author Share Posted February 22, 2016 I don't even have this version anymore. I made some changed from time to time but never put it online for download. Link to comment
Wojak Posted February 27, 2016 Share Posted February 27, 2016 I think this should be all the files: https://dysk.onet.pl/link/EL6q2 I downloaded this about 10 months ago. 1 Link to comment
uFloody Posted November 7, 2016 Share Posted November 7, 2016 Sorry to bump this tread.. I'm editing this gamemode to put on my server but the wheater and time won't load. From what I've been reading here, this is a problem with the wrapper(?). Is there any workaround I can do to make the time and weather work? Link to comment
Bonsai Posted November 7, 2016 Author Share Posted November 7, 2016 The weather and time is not loaded from maps meta file. You can try to add this in the mapmanager files. Server: elseif metaXMLName == "settings" then for i, node in pairs(xmlNodeGetChildren(m)) do MapTable.mapData.settings[xmlNodeGetAttribute(node, "name")] = xmlNodeGetAttribute(node, "value") end end Client: if mapTable.settings["#time"] then local hour = string.match(mapTable.settings["#time"], "%d+") mapTable.settings["#time"] = string.reverse(mapTable.settings["#time"]) local minute = string.match(mapTable.settings["#time"], "%d+") if hour and minute then setTime(hour, minute) end end if mapTable.settings["#weather"] then local weather = string.match(mapTable.settings["#weather"], "%d+") if weather then setWeather(weather) end end 1 Link to comment
uFloody Posted November 8, 2016 Share Posted November 8, 2016 1 hour ago, Bonsai said: The weather and time is not loaded from maps meta file. You can try to add this in the mapmanager files. Server: elseif metaXMLName == "settings" then for i, node in pairs(xmlNodeGetChildren(m)) do MapTable.mapData.settings[xmlNodeGetAttribute(node, "name")] = xmlNodeGetAttribute(node, "value") end end Client: if mapTable.settings["#time"] then local hour = string.match(mapTable.settings["#time"], "%d+") mapTable.settings["#time"] = string.reverse(mapTable.settings["#time"]) local minute = string.match(mapTable.settings["#time"], "%d+") if hour and minute then setTime(hour, minute) end end if mapTable.settings["#weather"] then local weather = string.match(mapTable.settings["#weather"], "%d+") if weather then setWeather(weather) end end Ok, i'ill try that. Thanks for the fast awnser. Link to comment
uFloody Posted November 8, 2016 Share Posted November 8, 2016 (edited) Ok, I think that i've added the code in the two scripts but when I enter in a arena nothing happens. (Console gives me a error: mapmanager_s.lua:44: attempt to index field 'mapData' a nil value). Idk if I made something wrong in server side script. Thanks. Edited November 8, 2016 by uFloody Link to comment
uFloody Posted November 9, 2016 Share Posted November 9, 2016 I still can't figure how to fix this.. I'm dumb rofl Link to comment
freudo Posted March 2, 2017 Share Posted March 2, 2017 NOS Styles not working nfs/hybrid Link to comment
freudo Posted March 3, 2017 Share Posted March 3, 2017 How to add joinarena command? Ex: /cross Link to comment
xRaM Posted May 19, 2017 Share Posted May 19, 2017 Well , nice working bonsais , realy liked ur works ! Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now