curiosity Posted January 18, 2014 Group: Members Topic Count: 7 Topics Per Day: 0.00 Content Count: 133 Reputation: 189 Joined: 05/20/12 Last Seen: November 7, 2016 Share Posted January 18, 2014 (edited) Hi all. After reading about Ai4rei's little discovery I decided to try and make a client plugin. This plugin gives you a new config file, mapeffecttable.txt, which allows you to set weather effects and modify 3D renderer clear color ("sky color") for maps. Now you can add clouds and blue sky (like in Juno and Kunlun) to any map without modifying the client or having to replace the effect from an old map. I just made this today and haven't tested very much, so there will likely be bugs. Also I've only tested on Windows XP running as administrator user, so YMMV. This release only works for 2012-04-10 client, it will crash all other clients!! Update: Now available for 2013-08-07 in addition to 2012-04-10 Weather effect overview: [table] EffectDescriptionmapleFalling maple leavesnightNight modepokjukFireworkssakuraFalling cherry tree petalsskyCloud effects (many different)snowFalling snowflakes[/table] Example: to add snow weather to Prontera you simply add an entry in the config like this: prontera.rsw 0x00000000 snow 0 More interesting Yuno: To install, put rdll2.asi in your client folder and put mapeffecttable.txt in your data folder. Also note it will not work if you have sound disabled. Download Edited October 30, 2014 by curiosity 10 1 Quote Link to comment Share on other sites More sharing options...
Olrox Posted January 18, 2014 Group: Members Topic Count: 87 Topics Per Day: 0.02 Content Count: 1335 Reputation: 933 Joined: 10/26/11 Last Seen: November 19, 2023 Share Posted January 18, 2014 Hi all. After reading about Ai4rei's little discovery I decided to try and make a client plugin. Hey man, thats an awesome release! yea we have been replacing the current official maps to have that sky effect til this day, I'll give a try to it later. Btw, talking about clouds, you know (or everyone?) by a chance how the @clouds effects loads on an especific altitude of a map? I mean, in official maps, no matter if they have a default high or lower altitude accordly to the map default height (you can tell by looking the water level) the effect loads correctly, but in custom maps I don't know where is that value especified. I've been trying the whole night by comparing mostly 3 examples attached above: height_10: official ro map, with alttitude 10, shows the @clouds effect fine. height_100: official ro map with altitude 100 (this means low altitude), shows the @clouds effect fine too, even with a huge different altitude height_-50: custom ro map, with altitude -50 (this means high altitude) shows the effect stacked in the height "0" no matter what I try (my issue) Link: https://dl.dropboxusercontent.com/u/52175822/map.rar both 3 maps are cleaned up for comparing hex results, and they use the same name of an official map to test easily. Any kind of tip is appreciated. Quote Link to comment Share on other sites More sharing options...
curiosity Posted January 18, 2014 Group: Members Topic Count: 7 Topics Per Day: 0.00 Content Count: 133 Reputation: 189 Joined: 05/20/12 Last Seen: November 7, 2016 Author Share Posted January 18, 2014 I've not investigated how cloud altitude is affected by map height (KeyWorld could probably tell you), but I know there is no option in the RSW format to set cloud height. However there are actually many cloud effects, and I suspect this has something to do with your problem. If you use @clouds it will spawn the effect with ID 233, and @clouds2 spawns the effect with ID 516. These effects are only 2 of the 9 different cloud effects present in the 2012-04-10 client. If you look in mapeffecttable.txt in my release you can see a field I call PARAM. This switches which cloud effect the map will use. For instance if this value is set to 3 it will display "misty" clouds at ground level, while PARAM=0 is used for mjolnir_01.rsw where the clouds appear only on the highest point of the map. Parameter reference: [table] ParameterEffect IDExample map0229mjolnir_01.rsw1230gon_dun02.rsw2233valkyrie.rsw3515einbroch.rsw4516airplane.rsw5592moc_fild22.rsw6N/AN/A[email protected][email protected]9945bif_fild01.rsw[/table] So I think the cloud altitude is affected by which cloud effect you use. With this plugin you can use all of them, so hopefully that solves your problem. 1 Quote Link to comment Share on other sites More sharing options...
Olrox Posted January 18, 2014 Group: Members Topic Count: 87 Topics Per Day: 0.02 Content Count: 1335 Reputation: 933 Joined: 10/26/11 Last Seen: November 19, 2023 Share Posted January 18, 2014 Man, thank you a lot! the effect #229 loads accordly to gat altitude, which solved my issue since I can load it by my altitude of my map. If I have some free time, I think I'll give a try to the others sky effects. Quote Link to comment Share on other sites More sharing options...
Neo-Mind Posted January 19, 2014 Group: Members Topic Count: 22 Topics Per Day: 0.00 Content Count: 806 Reputation: 221 Joined: 03/13/12 Last Seen: September 17, 2024 Share Posted January 19, 2014 o_o why didnt see this till today!! Awesome Curiosity . is it not possible to make it work for other clients? Quote Link to comment Share on other sites More sharing options...
GM Djinsu Posted January 19, 2014 Group: Members Topic Count: 13 Topics Per Day: 0.00 Content Count: 74 Reputation: 16 Joined: 05/08/12 Last Seen: May 15, 2024 Share Posted January 19, 2014 Very cool! So lets get this to work on all clients!! Quote Link to comment Share on other sites More sharing options...
Neo-Mind Posted January 20, 2014 Group: Members Topic Count: 22 Topics Per Day: 0.00 Content Count: 806 Reputation: 221 Joined: 03/13/12 Last Seen: September 17, 2024 Share Posted January 20, 2014 Curiosity can you please compile it for release mode. it keeps asking me for MSVCR100D.dll <= debug mode dll. Quote Link to comment Share on other sites More sharing options...
KeyWorld Posted January 20, 2014 Group: Members Topic Count: 9 Topics Per Day: 0.00 Content Count: 379 Reputation: 304 Joined: 11/10/11 Last Seen: December 2, 2014 Share Posted January 20, 2014 Really interesting post, I learned a lot from it. I didn't even investigate about cloud effets, I was thinking clouds got a -10 fixed position and the others maps just some effects stored in rsw file. Thank you for all this informations. Quote Link to comment Share on other sites More sharing options...
curiosity Posted January 20, 2014 Group: Members Topic Count: 7 Topics Per Day: 0.00 Content Count: 133 Reputation: 189 Joined: 05/20/12 Last Seen: November 7, 2016 Author Share Posted January 20, 2014 Oh, forgot that it was debug. Download release mode here. Changes since last time: The rest of the weather effects (maple leaves, sakura, fireworks, night) are now available Should no longer attempt to load with incompatible clients Now listens to /effect option Added some info on the different cloud modes in the config is it not possible to make it work for other clients? It's about the same issue as with client patching. Making it work with one other client is easy, but to work with all clients it'll require a little framework to detect code/offsets automatically. If you are interested in looking into it I can upload the code for you. Quote Link to comment Share on other sites More sharing options...
Neo-Mind Posted January 20, 2014 Group: Members Topic Count: 22 Topics Per Day: 0.00 Content Count: 806 Reputation: 221 Joined: 03/13/12 Last Seen: September 17, 2024 Share Posted January 20, 2014 oh and im so definitely interested Quote Link to comment Share on other sites More sharing options...
curiosity Posted January 20, 2014 Group: Members Topic Count: 7 Topics Per Day: 0.00 Content Count: 133 Reputation: 189 Joined: 05/20/12 Last Seen: November 7, 2016 Author Share Posted January 20, 2014 oh and im so definitely interested Got the code up for you. https://github.com/curio-r/rag-dll Not very pretty though! I didn't even investigate about cloud effets, I was thinking clouds got a -10 fixed position and the others maps just some effects stored in rsw file. Yeah, I was a bit surprised at this discovery myself. However I wonder if it would be possible to add the cloud effect (or other CWeather based effects) by including an effect object in the RSW. Though if it is possible Gravity should have have that in the first place instead of hard coding it in the map initialization routine. Quote Link to comment Share on other sites More sharing options...
Neo-Mind Posted January 23, 2014 Group: Members Topic Count: 22 Topics Per Day: 0.00 Content Count: 806 Reputation: 221 Joined: 03/13/12 Last Seen: September 17, 2024 Share Posted January 23, 2014 Thanks curiosity . I am currently making some modifications into NEMO and i am planning to incorporate this plugin as well. Infact I have made 1 asi for 2013-08-07 client... would be great if some one could test it (Hopefully it works ) . The link is below. http://www.mediafire.com/download/bcidbnhplsj1q42/rdll2_20130806.asi Quote Link to comment Share on other sites More sharing options...
Angelisk Posted March 10, 2014 Group: Members Topic Count: 16 Topics Per Day: 0.00 Content Count: 128 Reputation: 33 Joined: 01/21/13 Last Seen: November 8, 2024 Share Posted March 10, 2014 I definitely will use it õ.õ , thank you a lot! Quote Link to comment Share on other sites More sharing options...
a91323 Posted April 2, 2014 Group: Members Topic Count: 15 Topics Per Day: 0.00 Content Count: 99 Reputation: 10 Joined: 01/13/12 Last Seen: December 6, 2020 Share Posted April 2, 2014 Thanks curiosity . I am currently making some modifications into NEMO and i am planning to incorporate this plugin as well. Infact I have made 1 asi for 2013-08-07 client... would be great if some one could test it (Hopefully it works ) . The link is below. http://www.mediafire.com/download/bcidbnhplsj1q42/rdll2_20130806.asi use 20130807 but . crash.. Quote Link to comment Share on other sites More sharing options...
Creobnil Posted May 20, 2014 Group: Members Topic Count: 8 Topics Per Day: 0.00 Content Count: 22 Reputation: 3 Joined: 04/16/12 Last Seen: September 9, 2018 Share Posted May 20, 2014 (edited) I don't want to beg or anything.. but is someone able to make a 2014-02-05b version from this? xDI would love to use it but have no idea how to make one... D: Edited May 20, 2014 by Creobnil Quote Link to comment Share on other sites More sharing options...
curiosity Posted May 21, 2014 Group: Members Topic Count: 7 Topics Per Day: 0.00 Content Count: 133 Reputation: 189 Joined: 05/20/12 Last Seen: November 7, 2016 Author Share Posted May 21, 2014 Sorry, not going to happen on my part. I took a look at the 2014-02-05b exe and see that things are switched around a bit again and it's become an even bigger mess. I don't even have an updated server/client, so I can't test anyway. If anyone else wants to try here's a start on the virtual addresses: g_Weather = 0x00C949F0, g_UseEffect = 0x00CCDF64, g_Renderer = 0x00A63918, CWeather::LaunchSnow = 0x00771AE0, CWeather::LaunchCloud = 0x00771CD0 and entry point in CGameMode::Initialize should be at around 0x007EECFD. Quote Link to comment Share on other sites More sharing options...
Neo-Mind Posted May 22, 2014 Group: Members Topic Count: 22 Topics Per Day: 0.00 Content Count: 806 Reputation: 221 Joined: 03/13/12 Last Seen: September 17, 2024 Share Posted May 22, 2014 i know ... I was making it as an addon in NEMO. I can find the addresses easily but didnt get a chance to look at the new structures yet . Quote Link to comment Share on other sites More sharing options...
MelMel Posted June 27, 2014 Group: Members Topic Count: 31 Topics Per Day: 0.01 Content Count: 114 Reputation: 1 Joined: 01/22/12 Last Seen: December 10, 2017 Share Posted June 27, 2014 is this working on 2013-08-07? i try it but nothing is happening for example. i put prontera to have snow but when i go in game nothing happen. Quote Link to comment Share on other sites More sharing options...
curiosity Posted June 28, 2014 Group: Members Topic Count: 7 Topics Per Day: 0.00 Content Count: 133 Reputation: 189 Joined: 05/20/12 Last Seen: November 7, 2016 Author Share Posted June 28, 2014 is this working on 2013-08-07? No, only it only works with the 2012 client. Quote Link to comment Share on other sites More sharing options...
Pallas A Posted June 29, 2014 Group: Members Topic Count: 14 Topics Per Day: 0.00 Content Count: 67 Reputation: 24 Joined: 10/06/12 Last Seen: July 7, 2015 Share Posted June 29, 2014 Oh, forgot that it was debug. Download release mode here. Changes since last time: The rest of the weather effects (maple leaves, sakura, fireworks, night) are now available Should no longer attempt to load with incompatible clients Now listens to /effect option Added some info on the different cloud modes in the config is it not possible to make it work for other clients? It's about the same issue as with client patching. Making it work with one other client is easy, but to work with all clients it'll require a little framework to detect code/offsets automatically. If you are interested in looking into it I can upload the code for you. link broken :/ Quote Link to comment Share on other sites More sharing options...
curiosity Posted June 30, 2014 Group: Members Topic Count: 7 Topics Per Day: 0.00 Content Count: 133 Reputation: 189 Joined: 05/20/12 Last Seen: November 7, 2016 Author Share Posted June 30, 2014 link broken :/ https://github.com/curio-r/rag-dll/releases 2 Quote Link to comment Share on other sites More sharing options...
Pallas A Posted June 30, 2014 Group: Members Topic Count: 14 Topics Per Day: 0.00 Content Count: 67 Reputation: 24 Joined: 10/06/12 Last Seen: July 7, 2015 Share Posted June 30, 2014 link broken :/ https://github.com/curio-r/rag-dll/releases TKSS <33 Quote Link to comment Share on other sites More sharing options...
Clare Posted October 30, 2014 Group: Members Topic Count: 6 Topics Per Day: 0.00 Content Count: 18 Reputation: 8 Joined: 07/28/12 Last Seen: March 20, 2023 Share Posted October 30, 2014 (edited) Hey guys, I came to bring a version of plugin mapeffectablecompatible with the hexed 2013-08-07, adapted by me with help of Curiosity.Download Links: Edited October 30, 2014 by Suzuya 1 Quote Link to comment Share on other sites More sharing options...
Neo-Mind Posted October 31, 2014 Group: Members Topic Count: 22 Topics Per Day: 0.00 Content Count: 806 Reputation: 221 Joined: 03/13/12 Last Seen: September 17, 2024 Share Posted October 31, 2014 nice Quote Link to comment Share on other sites More sharing options...
Zell Posted April 29, 2015 Group: Members Topic Count: 53 Topics Per Day: 0.01 Content Count: 412 Reputation: 266 Joined: 04/25/12 Last Seen: Monday at 12:01 AM Share Posted April 29, 2015 On 2013-12-23 client, it will crash? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.