You have connection, called tera.
Now you should create database called tera inside this connection by clicking RMB.
Only after it, execute SQL database file into tera database by clicking RMB on it.
![]()
You have connection, called tera.
Now you should create database called tera inside this connection by clicking RMB.
Only after it, execute SQL database file into tera database by clicking RMB on it.
![]()
tnx got it an hour ago didnt read the instructions well :D cheers..
use foreach ("and check here skills id")
ive tried:
I put the code in: Communication\Logic\PlayErLogic.cs below:Code:int skillId = 111132; foreach (var id in Data.Data.Skills[0][connection.Player.TemplateId].Keys) if (id == skillId) { Communication.Global.SkillsLearnService.LearnMountSkill(player, skillId); }
but don't did nothing =P ive tried a lot of code, but skills don't like me lolCode:Player player = PlayerService.CreateCharacter(connection, playerData); StorageService.AddStartItemsToPlayer(player);
If you don't understand, what i'm saying just copy paste ...
open: Services>PlayerService
use:
using Data.Enums.SkillEngine;
using Data.Structures.SkillEngine;
goto function:
public void InitPlayer(Player player, bool isProlog)
replace everything with this:
public void InitPlayer(Player player, bool isProlog)
{
player.PlayerLevel = 1;
while ((player.PlayerLevel + 1) != Data.Data.PlayerExperience.Count - 1
&& player.PlayerExp >= Data.Data.PlayerExperience[player.PlayerLevel])
player.PlayerLevel++;
if (player.Skills.Count == 0)
{
for (int i = 0; i < Data.Data.DefaultSkillSets[player.TemplateId].SkillSet.Count; i++)
{
player.Skills.Add(Data.Data.DefaultSkillSets[player.TemplateId].SkillSet[i]);
}
foreach (KeyValuePair<int, Skill> skill in Data.Data.Skills[0][player.TemplateId])
{
if (skill.Value.Type == SkillType.Mount)
Communication.Global.SkillsLearnService.LearnMountSkill(player, 111117);
}
}
player.GameStats = CreatureLogic.InitGameStats(player);
CreatureLogic.UpdateCreatureStats(player);
AiLogic.InitAi(player);
//Loading now Ui Panel Settings (Because Server doesn't knows our settings leave this alone!!!)
DAOManager.playerDAO.LoadCharacterSettings(player);
PlayersOnline.Add(player);
}
That's all... Skill id == skill number... or make it random
rand(...![]()
o.O very very very thankz!!!!
The foreach is the same but i was putting it in the wrong place =P
You saved me, i was trying this all day lol.
Now im going to study the playerservice :D
- - - Updated - - -
I improved the !mount admin commands :D
Features:
!mount learnall => Learn all mount skills (already have, not new)
!mount list => List all mounts and ids.
!mount {id} => Learn the mount skill of the id that you chose.
Video: http://www.screencast.com/t/jbgwrl4rI
Download: http://goo.gl/faaxXk (DropBox) - VirusTotal Scan
I hope that its usefull for you!
Hi tastyshots i am testing now all ur version but i have a question, is my conection on internet or files have bug to respect atack i press but dont atack fine, have error delay is problem to my conex or files? please help me , and thanks for all ur work ;)
What you mean with error delay?
You press the key to attack and the char have delay to start the attack?
Which class are u using?
The attack system is a little bugged, don't hit the mobs sometimes, but i didn't get delay to start the attack after press the button.
I think it's your pc.
Have you tryied lower the graphics settings?
Go there to see the Tera requeriments and do a check if its works on your pc.
Last edited by diego00; 29-03-15 at 11:29 PM.
I've greats news!!!
I can now connect 2 pc at the server by network \o/
And I was testing somethings... I liked what i've tested :D
Duel is working! :D
Trade is working! :D
Follow is working! :D
But when Duel finishs, only 1 pc got the message. And got two messages: "You win!" and "You Lost!"
If it is only the msg, i think that it is very easy to fix.
But i saw one thing by the DEMON o.O lol:
Only one pc can invite to party / call to duel with suscess.
I tryied call from Castanic to Elin, but nothing happens. (Righ click, Duel or Invite), nothing happens =P
But when i did THE SAME, but now from Elin to Castanic, its worked... o.O
My GOOOD, this is a DEMON thing lol ^^
Just w8 a little, im editting the videos now to post for you. When im done ill update this post.
By now, some screens:
Vídeos:
- Duel: https://www.youtube.com/watch?v=Zohzs7YnHAg
- Trade: https://www.youtube.com/watch?v=kU9c98kw-rs
- Pégasus Fly: https://www.youtube.com/watch?v=mm3eHpBE4Ds
- Follow: https://www.youtube.com/watch?v=Hf_chImKuo0
That's all \o/
Last edited by diego00; 31-03-15 at 02:12 AM. Reason: updated: videos added!
screens dont work
Last edited by diego00; 31-03-15 at 11:34 PM. Reason: update
NeoLauncher works great.
Just see my ss and videos from anothers posts :D
Last edited by diego00; 01-04-15 at 12:37 PM.
Hey nice emu! Is there a way to start the client without the gameforge launcher?