Save Guild Enemies/Allies

09/25/2010 21:40 †he Knight §olari§#46
Thats so gay// I Can Code Simple NPCs to sell shits , to teleport you to some map or coords and etc , but npc like this ? not really so , Please help me!
09/25/2010 21:57 Fish*#47
Quote:
Originally Posted by †he Knight §olari§ View Post
Thats so gay// I Can Code Simple NPCs to sell shits , to teleport you to some map or coords and etc , but npc like this ? not really so , Please help me!
page 1 ---> buttom
09/25/2010 22:42 Arcо#48
Quote:
Originally Posted by †he Knight §olari§ View Post
Thats so gay// I Can Code Simple NPCs to sell shits , to teleport you to some map or coords and etc , but npc like this ? not really so , Please help me!
Beatz released my npc in this thread. Check his posts.
09/29/2010 21:33 Fish*#49
Quote:
Originally Posted by †he Knight §olari§ View Post
yes he relased it , But It's not for tanels source so...
I Got it converted also.. Looks Like this

Also it's only part but I got error at GC.My.Char.MyGuildAddAlly(Ally); ...
How Can I Add it at the dictonary ...?
whats the exact error :D
09/29/2010 22:18 Arcо#50
For the millionth time, that was a personal void used by me, it is not in the source by default. Just add the name to the dictionary like so;
GC.MyChar.MyGuild.Allies.Add(string, uint);
09/29/2010 22:36 Arcо#51
Not trying to be a dick, but go learn some C# via tutorials on the internet before even attempting to code on a source, cause you're just going to run into problems copying and pasting released codes. So go learn some C# for a few weeks, then come back trying all this.

Greets.
09/29/2010 22:46 Arcо#52
I already gave you my advice, me nor the community will spoonfeed you every step of the way. We start out that way to give you a good pushstart, now its time for you to start learning on your own.
09/29/2010 23:00 Arcо#53
I already told you how.
Now its up to you to take that knowledge into effect.
09/29/2010 23:05 Arcо#54
And thats the ignorance that will get you nowhere in life. You think by calling me a "DAMN ASSHOLE" people are gonna want to help you? Nope. You just need to start learning on your own.
09/30/2010 00:02 .Beatz#55
Quote:
Originally Posted by †he Knight §olari§ View Post
FUCK YOU AGAIN I DONT NEED ANYBODY'S HELP !
Quote:
Originally Posted by †he Knight §olari§ View Post
YOU ARE SHITTY MODERATOR ! NEVER RELASE ANY FIXED THING , ALL WITH ERRORS! AND YOUR SHITTY REBORN SCRIPTS AND YOUR SHITTY GUILD ALLIES/ENEMIES THING AND EVERYTHING!
#Reported - Spam and Flaming oh and Double Posting

Dude you are very stupid, flaming a mod is NOT a good idea.

I would also like to add that all of Arco's scripts that I have used or tested work perfect, although for my source they need a bit of editing. Also quite alot of people do NOT release stuff 100% working so people can have the chance to work on it themselves and actually learn something.
09/30/2010 02:46 Arcо#56
Quote:
Originally Posted by †he Knight §olari§ View Post
FUCK YOU AGAIN I DONT NEED ANYBODY'S HELP !
..........orly :rolleyes:

Quote:
Originally Posted by †he Knight §olari§ View Post
Where is the dictonary lols ? I Don't understand anything again lol ... Sorry about this eh...
More help pls ? :/
Quote:
Originally Posted by †he Knight §olari§ View Post
oh Cmon Please..My English Doesn't allow me to learn C# so..HEEEELPP!
Quote:
Originally Posted by †he Knight §olari§ View Post
Dude I'm a jerk can't do shit .. I Tried to learn , i even got a book from the internet from C# but still cant learn so.. Please tell me how can I add to the dictonary x(
Well alrighty then.
Herpderp.
09/30/2010 07:30 BitzIn#57
Quote:
Originally Posted by †he Knight §olari§ View Post
YOU ARE SHITTY MODERATOR ! NEVER RELASE ANY FIXED THING , ALL WITH ERRORS! AND YOUR SHITTY REBORN SCRIPTS AND YOUR SHITTY GUILD ALLIES/ENEMIES THING AND EVERYTHING!
Arco.'s the best mod from wat ive seen his guides are bugless ur the stupid one for not copy and pasting them correctly -.-

Quote:
Originally Posted by †he Knight §olari§ View Post
oh Cmon Please..My English Doesn't allow me to learn C# so..HEEEELPP!
If you cant learn or are not willing to learn it dont bother making a private server and insulting people.

idk if its the right time to request it but can u add tanels source allys and enemies :P
^Just a request
09/30/2010 08:23 Fish*#58
Quote:
Originally Posted by Аrco View Post
..........orly :rolleyes:





Well alrighty then.
Herpderp.
[Only registered and activated users can see links. Click Here To Register...]
09/30/2010 14:30 Fish*#59
Quote:
Originally Posted by †he Knight §olari§ View Post
Korvacs Forever! FUCK YOU ARCO!
I feel a ban above.

Dude u take the internet to serious.
09/30/2010 14:48 marlyandedsel#60
Quote:
Originally Posted by .Beatz View Post
The NPC you already have should be fine for the allys/enemys just add this code into the NPC under Disband. Not sure if this will work for you but it works for me and has done for a while now. All you should need to do is change a few things.
NOTE! : This is JUST Allys you should be able to work out enemys for yourself.
Code:
#region Ally
                                    if (option == 20)
                                    {
                                        Say("Who would you like to ally?", GC);
                                        Link2("Ally", 21, GC);
                                        Done(30, GC);

                                    }
                                    if (option == 21)
                                        if (GC.MyChar.MyGuild != null && GC.MyChar.GuildRank == MayaCo.Features.GuildRank.GuildLeader)
                                        {
                                            string Ally = ReadString(Data);
                                            foreach (Features.Guild g in Features.Guilds.AllTheGuilds.Values)
                                            {
                                                if (g.GuildName == Ally)
                                                {
                                                    if (g.Creator.Info != null)
                                                    {
                                                        if (g.Creator.Info.MyTeam.Members.Contains(GC.MyChar.EntityID))
                                                        {
                                                            if (!GC.MyChar.MyGuild.Allies.ContainsValue(Ally))
                                                            {
                                                                GC.MyChar.MyGuild.AddAlly(Ally);
                                                                GC.AddSend(Packets.String(g.GuildID, 21, Ally));
                                                                Say(g.GuildName + " is now your ally!", GC);
                                                                Link("Thanks.", 255, GC);
                                                            }
                                                            else
                                                            {
                                                                Say(g.GuildName + " is already your ally.", GC);
                                                                Link("Damn.", 255, GC);
                                                            }
                                                        }
                                                        else
                                                        {
                                                            Say("Make sure the guild leader of the Features guild is in your team.", GC);
                                                            Link("Okay", 255, GC);
                                                        }
                                                    }
                                                }
                                            }
                                            break;
                                        }
                                    #endregion
If this doesn't work for you I will recode it using Tanels source.

can you recode it to a working one, this code is not working to my source.
thanks in advance