-
Content Count
2,478 -
Joined
-
Last visited
-
Days Won
129
Everything posted by Lord_Chris
-
"Incorrect cross site request forgery token"
Lord_Chris posted a topic in Site Questions and Support
Anyone else getting these errors lately? "Incorrect cross request forgery token". -
I'll put in a good word with our friend Kevin- I'm sure he'll take note of that and act accordingly :lol:
-
Modding-I want to learn how to mod with easy step by step instructions
Lord_Chris replied to ds2019's topic in Stronghold 2
Thank you for the kind words, @ds2019! We hope you have an enjoyable experience both here and playing your games :) -
If anyone here is interested in joining me, I've just started a new game off in World 7. I'm currently in Tyneside.
-
Oh believe me, I know the feeling. When I first started C# I was one of the few to pick that up quite easily hah, although in fairness a lot of it was Console for the first year. Second year was much harder when we moved to OOP. See my experience with PHP did help me to move forward a bit in that area, and grasp a better than average understanding straight away. Mind saying that I don't really think the lectures were much good...... as interesting as Egyptology, the meaning of life and how to talk to people are (true stories) they're not really relevant to computing courses :lol: :lol: I think PHP is just about the only language I can do (and actually like to do) OOP styled because it's so flexible. The documentation is really quite good too especially compared with other languages. I've found lots of serious issues with the official documentation before as well on various other languages, which is incredibly frustrating. C# falls into those categories as does Java for me. Part of the reason why I hated doing it so much but we also didn't ever receive a lot of guidance, as you yourself know it's probably never going to work at first without a lot of support....
-
I've gone ahead and briefly tried myself what @Charles of Tours suggested. Though this was on a campaign map which I had already written, because I didn't actually load the game up. I can't find any hex codes in the map relating the player colours, which to me makes sense. Speaking from a programming point of view it wouldn't make sense to store these codes in the individual saved game files, there are just too many possibilities. What id you later wanted to update the whole game and change the colours? How would you make the old maps compatible? How would you ensure new maps played on older versions? .etc. etc. I've gone ahead and looked at the shaders folder again and I'm convinced we're onto something here. The problem is that I feel what's happening is that the game .exe file is somehow "injecting" into the relevant shader files what share colours to do. Again, this kind of makes sense to me. Let's not forget that the players in multiplayer change colours dynamically. This would be a lot of code for these shader files and I've yet to find any evidence of this (or anything similar) in the shaders files and in my opinion it doesn't really make sense putting these colours in the shaders files either; shaders should simply be rendering things, not actively telling themelves what to do. It's just basic code separation. My money is on the .exe file. My belief is that it's somehow injecting the colour codes into the shaders, telling the shaders what to render on each unit. This makes it almost impossible to change the player colours if this theory is correct unless you start hacking the exe file, something which we cannot condone. Unless Firefly were to release the source code, I doubt we will get very far on this one.
-
Since this is a duplicate of your existing topic, I will close it so all discussion is in one place.
-
Modding-I want to learn how to mod with easy step by step instructions
Lord_Chris replied to ds2019's topic in Stronghold 2
You can use any image, yes. To make the Armour shine you'd need some kind of metallic effect. It honestly depends on your knowledge of image editing and colours themselves rather than editing itself. My knowledge is rather restricted when it comes to that area so the best advice I can offer is to try to brush up on your painting skills I'm afraid. If there's anything else I can do to help you with the actual game itself, I could probably be of more help there. We do however have several units skins in our downloads section. You may find those of interest. You will probably notice that when you try to make a pattern too complicated, it may not be shown at all. Best of luck. -
Welcome back again @ImTheFrostbite- we've missed you! I'm honestly not sure is the truth as I just haven't been able to find anything. Hex codes, colour codes, C++ is totally not my "thing" at all. I'm much more of a PHP guy than a C++ one. However I do know that @Charles of Tours is studying C++. He may be able to find something about this and how easy it is.
-
Welcome back Charles! Great to see you around again, it seems to have been ages since we last spoke properly! Having studied Computing myself at University I know all too well how awful it is sitting endlessly away writing code for hours on end..... although, to be fair with my recent Company I'm doing virtually the same thing for that now too with creating that website....... :rolleyes: I just can't help but just be addicted to work and "greater good" causes I guess :lol: :lol: :lol: Astrology sure was right when it said I was a "workaholic"..... :rolleyes: I've never studied C++, but I'd always like to. It seems difficult though. My code has always been much more PHP oriented (as some of you know) but I have touched on Java (yuck) and C#. I know Tom likes his Java. What's it like using C++?
-
What is it you're trying to modify? Every file is different.
-
Please do not duplicate postings on the forum. The Castle Courthouse is for reporting serious issues to Moderators, not for game related help. I have merged your topic with the one in the Stronghold 2 forum.
-
Modding-I want to learn how to mod with easy step by step instructions
Lord_Chris replied to ds2019's topic in Stronghold 2
Thank you for the very kind words :) We will of course keep going, and I'm pleased to hear you have your problem solved. :) -
Modding-I want to learn how to mod with easy step by step instructions
Lord_Chris replied to ds2019's topic in Stronghold 2
Hi @ds2019, welcome to StrongholdNation! It's a pleasure to hear such positive feedback! Thank you so much for continuing to use the site. Lots of questions today so let me try to answer each one as best as I can. I noticed this too when I first started out. The DDS converter doesn't really work that well. That's why I use a program called paint.net: link here. Using this program you can directly open & save the DDS files without any need for conversion. This not only saves a lot of edit time but also makes sure the file is a cleaner save. I strongly recommend you use this if trying to modify a DDS file. Just make sure you have a backup file first. If I'm correct, I used Sony Vegs Pro to edit my own front end menu. Unfortunately it's commercial software, but with a bit of searching I'm confident something will come up. You just put in the various video files, combine them, then save it as a bik file. As soon as it's saved, you just replace the bik file with your own. You can download the Granny Viewer software from our download section here. Hope this helps! @@Mathew Steel: Shhhhhhh-hhhhhh! How else am I supposed to remain so popular? ;) -
Please give a huge round of applause to our latest Head Admin, @Crusader1307! Dave has done a fantastic job in running the site in my extended absence for health reasons, and we really need to give him more gratitude for everything he has done in keeping this place alive and going. No matter wind, rain or shine, he is always here and has remained very loyal to us right from the start! Likewise, please welcome our latest Administrator, @Mathew Steel! Tom has been doing an outstanding job and we really wanted to bring him on board to play more of a role in any decision making processes which happen with the site.... he has been one of the longest standing and loyal members we've had on the site, ever since his arrival from HG he has actively worked his socks off for the site.... so please give a round of applause for both our latest promotions! :)
-
Zero toleration for nonsensical spam posting
Lord_Chris replied to Lord_Chris's topic in Site Questions and Support
Post approval has now been turned off for new members. -
Internal Game Modification & Format Deciphering (Support/Discussion)
Lord_Chris replied to nox7's topic in Stronghold 2
Hi @nox7, welcome to the site! Yes, I've noticed before about the header of the file..... it contains basic things such as the map type, i.e. Kingmaker and a few of the more basic settings and configuration of the map. In regards to the Program Files directory the game struggles reading maps from there because it's considered a protected directory in Windows. Which is why you need admin privileges to do things there. That's why the game struggles there. As @Crusader1307 pointed out, we'd love to have some of your tutorials on the site :) If you want you can PM them to me and I'll get them up there for you. Also if you like you could upload your bug-free version to our downloads section.... I'm sure many of our members would enjoy that being there. Finally, in relation to hard-coded limits, I'm not sure there's much that can be done on that front I'm afraid. Although you may be able to accomplish some of it as you sound more experienced in this field than myself. I've come to find that most of the configurable info (appears) to be hard-coded in the exe file. Have a good Christmas :) -
Stuck this thread :)
-
Zero toleration for nonsensical spam posting
Lord_Chris posted a topic in Site Questions and Support
Effective immediately, heavy consequences will now come with any spam or unrelated, unwarranted post made on this forum. After a recent small influx of accounts purely for the purpose of promoting spam, the Moderation team has agreed the following rules which will take instant effect. On a temporary basis, all posts and topics made by new members must be manually approved by Moderators New members may only make a single post per 5 minutes The promotion threshold to regular permissions has been doubled to 10 approved posts Additional powers are to be available to Moderators to quickly and automatically permanently ban spammers, post their data to StopForumSpam and easily remove their posts and topics in one action New detection is to be setup to detect and automatically block suspected smurfing and inform the Moderation team of all related information The Moderation team has also agreed to a change of policy on spammers and spam accounts. In the instance a new user appears to have registered their account solely for the purposes of spamming or general annoyance, their account will be permanently deleted and their IP address blocked. Should a second offence somehow occur, a formal complaint will be made to the user's ISP on behalf of the site. In the event of a user already registered attempting to spam, a posting ban will be placed upon their account for each spam post which is made. For example: 1 post : 7 day ban 2 posts : 14 day ban 3 posts : 21 day ban 4 posts : 28 day ban 5 posts : 35 day ban 6 posts : 42 day ban 7 posts : 49 day ban 8 posts : 56 day ban 9 posts : 63 day ban 10 posts : 70 day ban Yes, these are accurate and very, very real. It should be common sense what is acceptable and what isn't, but unfortunately a small minority has pushed well beyond the limits of what is acceptable. We will continue to keep this situation under review and additional powers will be granted to Moderators if necessary to deal with any further incidents which may occur. Further updates will be provided in this thread in due course. This isn't open for discussion so this topic will simply be closed. However, if you have any questions you may PM them to me. Any topics or posts made about this new policy will also be closed and removed. It simply is not open for discussion. -
You can change the uni files in Stronghold 2 so that you (or another unit in the game) can be represented by any character or lord. We have a tutorial on that here. As far as being able to take control of other lords, unfortunately it's only available on an "in the box" basis with what's already there. We can't add anything different. Likewise on the hex code stuff, Stronghold 2 is structured differently to Stronghold Crusader, and it's not possible to do that in Stronghold 2. @Tokamaps has a thread where he briefly described the colour changing process, although not much came of it. You can find that here. Be warned, though, way back on Stronghold Knights one of the Firefly developers warned that it would mess the whole game up changing the colours. You need to take into account multiplayer, the siege mode .etc. when changing and it's a massively complex operation. I actually looked into this myself several years ago but I couldn't get anywhere due to the massive amount of hard-coding of the colours and shades .etc. You need extremely good knowledge of C++ and programming in general to be able to interpret it, let alone pull it off. I suspect a lot of it is compiled (i.e. non-readable) and therefore non-changeable, too. Firefly would have to release the source code for you to edit it, which I don't see happening any time soon. On what you mentioned about the Stronghold 2 Steam edition, I don't have that version of the game, but I know @Mathew Steel does. He wrote an article on the changes here which you may wish to read, including many of the bugs introduced in that version of the game. It sounds like this could well be one of them.
-
Hi @odisseus, As already brilliantly explained by and [user]Mathew steel], we have strict rules on approving files to crack down on any abuse. You may want to take a look at this pinned thread in Site Questions/Support, which explains some of the requirements for uploading a map. I also perhaps think we should update the official guidelines when attempting to submit your map to include some of that information collated in one place, so I will try to do that this weekend at some point. Other than this, welcome to the site, and thanks for getting involved! :)
-
Hi @ImTheFrostbite, Apologies for not getting a reply to you on here. I actually thought I had replied several days ago but it seems I must have been sidetracked, most likely phone calls, and then forgot I had not replied. I've since subsequently had a few technical issues over the past few days. As far as I am aware, you can't make a trigger to take control over the physical lord of another player in the game unless the mechanics have already been added to the game, i.e. through a converted campaign map using the map unlocker. That setting you're referring to there with the enabled/disabled is probably the take AI castle option. This allows you to temporarily take over the castle of an AI player, but not the lord themselves. What problems are you having running the map unlocker? Also, you may want to take a read of this tutorial. While not strictly relating to your question, it may help to provide some more information into the whole process behind modifying campaign maps in Stronghold 2: https://www.stronghold-nation.com/article/283-adding-custom-messages-briefings
-
Hi @Dze, welcome to StrongholdNation! Yes, this is possible. It's something that I've done before when I formatted my PC. First off, you need to head over to the C:\Users\\Documents\Stronghold Legends folder. In here you should find a folder called "Profiles", along with a very important file called profiles.dat. Inside this folder, you should find a sub-folder named as each of your Stronghold Legends Profiles which exist, or, if you have not specifically created a profile, there will be a single folder which exists entitled Default Profile. To restore a profile, you need to copy any existing profile folders into the "Profiles" folder, overwriting them if they already exist, and also replace the profiles.dat file. Both these steps are very important as without them you will be unable to load your game progress and will have to start from scratch. To backup a profile, I recommend taking a backup of the whole Stronghold Legends folder in my documents. This will also save all of your custom maps as well as your profiles, and, it will also save your graphics settings. In regards to your second question, unfortunately it is not possible to port your game to the Steam library. You can however run the disk game through the Steam Client, but it is not possible to upgrade to the Steam version from the disk version. The ability to get the new version for free was restricted only to those users who already had the Stronghold Collection on Steam.
-
I love Total War too. My favourite by far is Medieval 2 Total War. I have all the expansion packs for that. Right now I'm playing the Britannia campaign. I think it's a huge pity Sega moved their games to be Steam Exclusive several years ago as it puts me off buying more.
-
Since we've promoted @Mathew Steel to a full Moderator, he has quickly become a very enthusiastic part of the team! He is a very active Moderator who only has the interests of SHN at heart, and has moderated his sections of the site (and far and beyond too!) with considerable knowledge and expertise. We're therefore delighted to promote him to a more senior global moderator with immediate effect! Thank you Mathew, we know you will continue to play an amazing role on the site! :)