|
Fail NPC_
This is a discussion on Fail NPC_ within the CO2 PServer - Discussions / Questions forum part of the Conquer Online 2 category; FIXED#CLOSE...
02-09-2010, 03:11
|
#1
|
I Can Transform Yah,
Join Date: Apr 2008
Posts: 817
Received Thanks: 228
|
Fail NPC_
FIXED#CLOSE
Last edited by -Shunsui-; 02-09-2010 at 05:23.
|
|
|
02-09-2010, 03:35
|
#2
|
Senior Member
Join Date: Jul 2005
Posts: 2,015
Received Thanks: 756
|
So you are saying your checks are all working perfectly but you want to be able to exit and then come back in?
by setting solar saint = to 1 you are making that check not work the next time you use it.
If you want to re-enter quest from start, you have to set GC.MyChar.SolarSaint = to 0. Do it in your first link back when you have the player talk to the npc.
-----
If you mean you want the server to only let players into the event for the first 5/10 minutes I would do a server wide bool saying that players can enter or not enter. Then using the server updates check if the quest starting time is 5/10 min larger then current date time and if so update the bool to false (making it so players can't enter the event anymore) and print out the text to all connected clients.
If that's not what you mean then maybe I'm just missing the point. If so, Sorry.
|
|
|
|
The Following User Says Thank You to pro4never For This Useful Post:
|
|
02-09-2010, 03:43
|
#3
|
Infamous efg
Join Date: Oct 2009
Posts: 7,873
Received Thanks: 4,084
|
Lol its pretty obvious p4n.
Add a } after
else
{
GC.MyChar.Teleport(4021, 300, 300);
}
|
|
|
|
The Following User Says Thank You to .Arco For This Useful Post:
|
|
02-09-2010, 04:01
|
#4
|
I Can Transform Yah,
Join Date: Apr 2008
Posts: 817
Received Thanks: 228
|
lol, i guess hep got the prob, gona try it but it whas that in the first time they Press Controll 10 or Control 12, It sets SolarSaint to 1 and also sends them in and gives them the exp ball so the next time thy try to enter on that same day since their SolarSaint wount be 0 anymore its gona go to the else wich will just send them in with out givin them the exp ball just like real co has it you can only get the Exp the first time you enter on that day if you come out and try to go in again it will just let you in and not give you anything,
|
|
|
02-09-2010, 04:04
|
#5
|
Senior Member
Join Date: Jul 2005
Posts: 2,015
Received Thanks: 756
|
Yah sorry I completely misunderstood your question as I may not have read the entire thread... my bad.
|
|
|
02-09-2010, 04:08
|
#6
|
Infamous efg
Join Date: Oct 2009
Posts: 7,873
Received Thanks: 4,084
|
Quote:
Originally Posted by pro4never
Yah sorry I completely misunderstood your question as I may not have read the entire thread... my bad.
|
Lol its all good.
We all make mistakes
Quote:
Originally Posted by -Shunsui-
lol, i guess hep got the prob, gona try it but it whas that in the first time they Press Controll 10 or Control 12, It sets SolarSaint to 1 and also sends them in and gives them the exp ball so the next time thy try to enter on that same day since their SolarSaint wount be 0 anymore its gona go to the else wich will just send them in with out givin them the exp ball just like real co has it you can only get the Exp the first time you enter on that day if you come out and try to go in again it will just let you in and not give you anything,
|
Alright so tell us how it goes.
|
|
|
|
The Following User Says Thank You to .Arco For This Useful Post:
|
|
02-09-2010, 04:19
|
#7
|
I Can Transform Yah,
Join Date: Apr 2008
Posts: 817
Received Thanks: 228
|
Worked : ) Thanx Guys, I can now move into Stage 2 xD
|
|
|
02-09-2010, 04:20
|
#8
|
Infamous efg
Join Date: Oct 2009
Posts: 7,873
Received Thanks: 4,084
|
No problem, glad to be of assistance :]
If you have any more problems, don't hesitate to ask!
Oh and since your problem has been solved, can we
#request close?
|
|
|
02-09-2010, 04:23
|
#9
|
I Can Transform Yah,
Join Date: Apr 2008
Posts: 817
Received Thanks: 228
|
Quote:
Originally Posted by .Arco
No problem, glad to be of assistance :]
If you have any more problems, don't hesitate to ask!
Oh and since your problem has been solved, can we
#request close?
|
Yeah
|
|
|
02-09-2010, 06:31
|
#10
|
iMod
Join Date: Oct 2006
Posts: 5,093
Received Thanks: 829
|
#Closed
|
|
|
All times are GMT +2. The time now is 11:55.
|
|