I have some questions

07/31/2010 23:55 MixedCoder#1
1- how to make a skill disable in a map
2- how to make some one if he disconnected when he relogin the map change like a reborn map
3-how to add new map
4-how to delete the GM effect ???


Source 5165 :) thnx all
08/01/2010 06:03 Fish*#2
1- how to make a skill disable in a map
Code:
if (GC.MyChar.Loc.Map == MAPID)
{
//Define what to happen if cant send skill
}
else
{
//Define the skill action
}
2- how to make some one if he disconnected when he relogin the map change like a reborn map
Code:
if (GC.MyChar.Loc.Map == MAPID)
{
GC.MyChar.MyClient.Disconnect();
}
3-how to add new map
Code:
Search, there is some guides around
4-how to delete the GM effect ???
Code:
What gm effect?
08/01/2010 07:44 MixedCoder#3
Quote:
Originally Posted by grillmad View Post
1- how to make a skill disable in a map
Code:
if (GC.MyChar.Loc.Map == MAPID)
{
//Define what to happen if cant send skill
}
else
{
//Define the skill action
}
2- how to make some one if he disconnected when he relogin the map change like a reborn map
Code:
if (GC.MyChar.Loc.Map == MAPID)
{
GC.MyChar.MyClient.Disconnect();
}
3-how to add new map
Code:
Search, there is some guides around
4-how to delete the GM effect ???
Code:
What gm effect?
thnks but in which .cs? character?
08/01/2010 09:06 Fish*#4
I was jsut giving you some hints.
Now is up to you, to define it the right places.
Try look at the source and use common sense to figure it out.
You wouldn't put a check for skills in level up right?
Is just like playing with the different objects you had when u were a baby.
The triangel, The Square and The Circle.
U wouldn't put The Triangel in the The Square, would you?

Best way to learn is from ur mistakes :)
So, try out.
08/01/2010 11:12 2010mrsurfer#5
Quote:
Originally Posted by grillmad View Post
I was jsut giving you some hints.
Now is up to you, to define it the right places.
Try look at the source and use common sense to figure it out.
You wouldn't put a check for skills in level up right?
Is just like playing with the different objects you had when u were a baby.
The triangel, The Square and The Circle.
U wouldn't put The Triangel in the The Square, would you?

Best way to learn is from ur mistakes :)
So, try out.
Agreed, i started looking at the powersource code maybe 2 month ago? when i learnt how to set up a pserver, then i moved to 5165, yeh i cant code much but i can code a pretty decent npc by looking at the code learning by mistakes and with yours, mattyc and arcos help :)
08/01/2010 18:57 MixedCoder#6
Quote:
Originally Posted by grillmad View Post
I was jsut giving you some hints.
Now is up to you, to define it the right places.
Try look at the source and use common sense to figure it out.
You wouldn't put a check for skills in level up right?
Is just like playing with the different objects you had when u were a baby.
The triangel, The Square and The Circle.
U wouldn't put The Triangel in the The Square, would you?

Best way to learn is from ur mistakes :)
So, try out.
okey. consider it done lolz:)