Freya World
Would you like to react to this message? Create an account in a few clicks or log in to continue.
Freya World

Open Source Java Project
 
HomeHome  Latest imagesLatest images  SearchSearch  RegisterRegister  Log inLog in  

 

 Compile error

Go down 
4 posters
AuthorMessage
Echo




Posts : 11
Join date : 2011-05-29

Compile error Empty
PostSubject: Compile error   Compile error Icon_minitimeSat Jun 04, 2011 10:18 pm

When trying to compile the Game server "Core" you get an error with
Code:
addSpawn(TEPIOS, TEPIOS_SPAWN[0], TEPIOS_SPAWN[1], TEPIOS_SPAWN[2], 0, false,0,false,world.instanceId);
finishInstance(world);

So below that, I added. With the quick fix option.
Code:
   /**
    * @param world
    */
   private void finishInstance(HSWorld world)
   {
      // TODO Auto-generated method stub
      
   }
And it compiled.. Is that a correct way? Sorry Sad
Back to top Go down
Willow
Admin
Willow


Posts : 113
Join date : 2011-05-24

Compile error Empty
PostSubject: Re: Compile error   Compile error Icon_minitimeSun Jun 05, 2011 2:40 am

I hope this will work.
Code:
           /**
           * Called on instance finish
           * @param world instanceWorld
           */
           private static final void finishInstance(InstanceWorld world)
           {
                 // destroy instance
                 Instance inst = InstanceManager.getInstance().getInstance(world.instanceId);
                 inst.setDuration(5 * 60000); // 5 minutes
                 inst.setEmptyDestroyTime(0);
           }
Back to top Go down
Thunercast




Posts : 6
Join date : 2011-05-31

Compile error Empty
PostSubject: Re: Compile error   Compile error Icon_minitimeSun Jun 05, 2011 3:51 am

Maibe one NICE tutorial guide, with images and explanations about how to compile, step by step help all new members in FreyaWorld.

In l2universe, LUCIFER make one nice tutorial and some members resolve all problem in compile just following step bye step.

Maibe Willow or Janiko can make the best tutorial guild of the universe Smile

is only one idea, but is very usefull and important tool ofc
Back to top Go down
Echo




Posts : 11
Join date : 2011-05-29

Compile error Empty
PostSubject: Re: Compile error   Compile error Icon_minitimeSun Jun 05, 2011 10:27 am

Thunercast wrote:
Maibe one NICE tutorial guide, with images and explanations about how to compile, step by step help all new members in FreyaWorld.

In l2universe, LUCIFER make one nice tutorial and some members resolve all problem in compile just following step bye step.

Maibe Willow or Janiko can make the best tutorial guild of the universe Smile

is only one idea, but is very usefull and important tool ofc

I don't know if that was directed to me, but I know how to compile. Was just pointing out a error in the code.
Back to top Go down
Thunercast




Posts : 6
Join date : 2011-05-31

Compile error Empty
PostSubject: Re: Compile error   Compile error Icon_minitimeMon Jun 06, 2011 3:46 am

Echo wrote:
Thunercast wrote:
Maibe one NICE tutorial guide, with images and explanations about how to compile, step by step help all new members in FreyaWorld.

In l2universe, LUCIFER make one nice tutorial and some members resolve all problem in compile just following step bye step.

Maibe Willow or Janiko can make the best tutorial guild of the universe Smile

is only one idea, but is very usefull and important tool ofc

I don't know if that was directed to me, but I know how to compile. Was just pointing out a error in the code.


No my my friend, please sorry but this idea is for others members, not for you OK.

You dont need help but in all project have many members newbies, first experience and others cases.

Dont understand me whong ok Smile


Back to top Go down
WindRB




Posts : 24
Join date : 2011-06-06

Compile error Empty
PostSubject: Re: Compile error   Compile error Icon_minitimeSat Jun 11, 2011 6:33 pm

make a backup before you attemp any coding, compiling is easy, its the code that may be written poorly
Back to top Go down
Sponsored content





Compile error Empty
PostSubject: Re: Compile error   Compile error Icon_minitime

Back to top Go down
 
Compile error
Back to top 
Page 1 of 1
 Similar topics
-
» Error Full install database : missing files

Permissions in this forum:You cannot reply to topics in this forum
Freya World :: Development :: Bug Reports-
Jump to: