Okay, so I've been skimming around like crazy trying to find ways of making this work, I've altered it quite a few times, but the majority of what I do won't get accepted by the source. I'm not a great coder, I know this. The coding here is basically LOTF, just altered, and some parts still based for LOTF. Say what you want, but learning how to transfer a few things from LOTF to work on here will help me to understand this source slightly better, so hopefully in the future, I won't need to reult in threads like this.
Here's what I have so far, red highlights are portions that aren't accepted.
If someone can enlighten me as to what would be appropriate for the specific sections highlighted, it would help me understand this a bit better.
I've already went over a few releases by others here, compaired to LOTF, as soe of them were altered from it, and I understand how they all work, wasn't much that had to be changed with them, but this in itself is confusing me.
Don't mean to double post, but to avoid issues with an editted post not being ackowledged... Still having some issue with this, particularily the split. If anyone has insight on how to get this working, would be appreciated. My attempts have proven futile. However, I'm going to take a break on this for the time being and see about getting the healing skills to function.
I'm still having trouble with this cause im noob. but i tried making it int Color = 1...etc.... but was getting errors. And i know im probably completely wrong but it was worth a try
if (LinkBack == 4)
newitem = newitem.Insert(newitem.Length - 2, "3");
if (LinkBack == 5)
newitem = newitem.Insert(newitem.Length - 2, "4");
if (LinkBack == 6)
newitem = newitem.Insert(newitem.Length - 2, "5");
if (LinkBack == 7)
newitem = newitem.Insert(newitem.Length - 2, "6");
if (LinkBack == 8)
newitem = newitem.Insert(newitem.Length - 2, "7");
if (LinkBack == 9)
newitem = newitem.Insert(newitem.Length - 2, "8");
if (LinkBack == 10)
newitem = newitem.Insert(newitem.Length - 2, "9");
This is the portion that deals with the colours. The main thing is having it read, and replace the proper piece of equipment. Probably going to take me awhile to figure it out, but I'm a noob aswell, lol. No real C# knowledge, I merely find ways of adapting to code I'm working with, and manipulating it for other purposes. However, this source is proving to be a nightmare for me. So as I said, going to take awhile.
Maybe that'll help you a bit better then it does me.
if (LinkBack == 4)
newitem = newitem.Insert(newitem.Length - 2, "3");
if (LinkBack == 5)
newitem = newitem.Insert(newitem.Length - 2, "4");
if (LinkBack == 6)
newitem = newitem.Insert(newitem.Length - 2, "5");
if (LinkBack == 7)
newitem = newitem.Insert(newitem.Length - 2, "6");
if (LinkBack == 8)
newitem = newitem.Insert(newitem.Length - 2, "7");
if (LinkBack == 9)
newitem = newitem.Insert(newitem.Length - 2, "8");
if (LinkBack == 10)
newitem = newitem.Insert(newitem.Length - 2, "9");
This is the portion that deals with the colours. The main thing is having it read, and replace the proper piece of equipment. Probably going to take me awhile to figure it out, but I'm a noob aswell, lol. No real C# knowledge, I merely find ways of adapting to code I'm working with, and manipulating it for other purposes. However, this source is proving to be a nightmare for me. So as I said, going to take awhile.
Maybe that'll help you a bit better then it does me.
anytime I add "Color" to any segment, it doesn't work. I tried that on a different portion of the code. But I will give that a try when I take time to sit and work again, fo now, time to relax, been a long day.
Hey, I wish I had the time and patience to learn these languages like you guys. Unfortunatly, I don't always get much free time. And when I do, I'm ussually exhausted, and my brain doesn't want to function. To be honest, the only reason I even attempt to do anything is merely cause friends want to play a server where they don't have to worry about drama. Otherwise, I probably wouldn't bother trying to do this, and would just find something else to do with my spare time.
On a side note though. If you guys know where I can find some good tutorials, ones that won't keep me struggling to understand. Feel free to share.