|
||
|
|||||||
| RunUO Post Archive The Archvie |
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 (permalink) |
|
When you have a huge zip file of a script which requires you to replace many files in RunUO, simply make it install the files to their correct folders. Then all the person installing the script has to do is extract to C:\runuo\RunUO-Version and they're set!
What I mean by this if you don't get it is that, lets say you have a script which requires you to replace the original BaseBashing.cs. So you make the BaseBashing file extract to homedir\scripts\items\weapons\maces. For upgrading RunUO versions all they would have to do is keep the zip file and extract it again on their new RunUO version, or if they feel like moving it to a Modified folder they can do that too Just my two cents on how to make life easier for us all ![]() |
|
|
|
|
|
|
#4 (permalink) |
|
Forum Expert
Join Date: Jan 2004
Posts: 1,377
|
I'm currently working on an C# installation system for RunUO scripts which hopefully automates the process of integrating code snippets in existing distro files.
__________________
Dracarys retired - consider me dead to these boards |
|
|
|
|
|
#6 (permalink) |
|
Forum Novice
Join Date: Jun 2003
Location: hudson valley ny
Age: 38
Posts: 442
|
the problem i see with something like this is if you get a bad or otherwise malfunctioning script it will be much harder to track down and remove the conflicting scripts..or what if people dont include a full list of all .cs files that are being changed..if you later decide to remove it you wont know where to begin..just seems much easier to put new scripts in a custom folder and then back up and remove any conflicting scripts from the distro...yeah its a little more work but it would just be much neater and easier..especially for a lot of people running shards that dont have a lot of scripting experience (mysel included)
![]() |
|
|
|
|
|
#8 (permalink) |
|
Forum Expert
Join Date: Jan 2004
Posts: 1,377
|
I'm talking about bigger scripts not some small ones that require only a few lines c&p
It should also be possible to create new versions for serialize/deserialize automatically.@sicron: Currently the system is working and keeps track of any changed lines within all changed files. It's also able to undo those changes and even restore replaced lines (version tracking)
__________________
Dracarys retired - consider me dead to these boards |
|
|
|
|
|
#9 (permalink) | |
|
Account Terminated
|
Guys you make it sound like editing scripts is hard.
Its really easy and: Quote:
|
|
|
|
|
|
|
#11 (permalink) |
|
Account Terminated
|
I will be honest.
Some things are meant to be done by hand. Programming is one of those things. If you wanted to write a program to mege two files, fine that is helpful. But for a program to add code to seralizer, its just not right. But don't like my views stop you. If you want to make a program like this, go ahead. Just make sure its not going to cause more work for people like myself. |
|
|
|
|
|
#12 (permalink) |
|
Forum Expert
Join Date: Jan 2004
Posts: 1,377
|
I know. I have worked as a programmer myself. I just thought about making script installations easier where you would have to edit a lot of distro files. This would also eliminate the need of keeping track of changed distro files.
It wasn't only supposed to add code to serialize/deserialize but also to add needed references ("using...") and the actual code. Not that i would have used it myself. ![]() It's in the binary nirvana now anyway :-)
__________________
Dracarys retired - consider me dead to these boards |
|
|
|
|
|
#14 (permalink) |
|
Guest
Posts: n/a
|
I think what he means is like files that install, for example phpbb, you click :
www.yourdomain.com/forum/install/installthis.php , it then installs all the neccary things onto the SQL database(Edits the dirs in the sql database) And phantom is right, doing this would not teach people and causing more problems and MORE questions and it possibly might make it longer to script somthing... ![]() |
|
|
|
#15 (permalink) | |
|
God of Pandora
Join Date: Jun 2003
Location: Gainesville GA
Age: 31
Posts: 2,000
|
Quote:
This does exactly what your talking about only with the message boards. About a zip that extracts to folders overwriting default files... this is bad, if someone has an edited default file, and they extract like this, it will overwrite their edited file causing errors. This will mainly happen to beginners so there will be more posts like "I installed this script just like the instructions said and now my shard is broken"
__________________
The Den of KillerBeeZ...Kender's Komments, uncensored commentary from the Kender. Plus anything else the Kender might have in his pouches.
|
|
|
|
|
|
|
#18 (permalink) | |
|
God of Pandora
Join Date: Jun 2003
Location: Gainesville GA
Age: 31
Posts: 2,000
|
Quote:
The thread content itself is what the topic is all about, not the outcome... so you have 3 choices... 1) leave the thread alone and have a thread buried in the wrong forum 2) delete the thread and lose anything that may have been helpful in said thread 3) or move the thread to the forum it belongs in case someone else wishes to take this project up or learn from the posts. But then I'm not a mind reader ![]()
__________________
The Den of KillerBeeZ...Kender's Komments, uncensored commentary from the Kender. Plus anything else the Kender might have in his pouches.
|
|
|
|
|
|
|
#19 (permalink) | |
|
Moderate
Join Date: Nov 2002
Location: USA
Posts: 6,598
|
Quote:
Anyway, back to the first topic... I strongly suggest to everyone that they not intermix custom scripts with the distro scripts. Instead create a "Custom" folder in the Scripts folder and put everything there. It makes debugging easier and shaves hours off a Beta upgrade.
__________________
David Forum Moderator The RunUO.com Forum Moderator Team Forum Rules and Guidelines RunUO Forum Search Engine Download RunUO 2.0 RC2 |
|
|
|
|
|
|
#20 (permalink) |
|
Guest
Posts: n/a
|
My two cents too. If you make the zip file with each file in a folder that corrisponds with the prosepctive folders in teh run uo directory won't it try to unzip them into the folders? The more maticulous that the creator is the better the zip will function when it is unzipped. Only problem is that not everyone names teh custom folder the same. So my idea is for the next release of run uo they should alread install a custom folder that is empty to create a uniform system. Once i can get the submit a script thing to work i will post some of my scripts in the manor i have discribed. Got any input or ideas just let me know more than glad to discuss this idea further.
DragonDan ![]() |
|
|
|
#21 (permalink) |
|
Moderate
Join Date: Nov 2002
Location: USA
Posts: 6,598
|
...of course this pre-structured zip file with recursive path information may actually require more thought from the scripter than many are willing to put into their script in the first place.
__________________
David Forum Moderator The RunUO.com Forum Moderator Team Forum Rules and Guidelines RunUO Forum Search Engine Download RunUO 2.0 RC2 |
|
|
|
|
|
#22 (permalink) | |
|
God of Pandora
Join Date: Jun 2003
Location: Gainesville GA
Age: 31
Posts: 2,000
|
Quote:
If the scripter doesn't want to put much thought into the script, I dont want it, and I don't just mean the format they use.
__________________
The Den of KillerBeeZ...Kender's Komments, uncensored commentary from the Kender. Plus anything else the Kender might have in his pouches.
|
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|