Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
G2O G2O - New beginning
#21
Graphics from this thread doesn't work on portal.
[Image: 4ba1350c804c9.png]
Reply
#22
There is a bugs with skill id's in setPlayerSkillWeapon function:

setPlayerSkillWeapon(pid, WEAPON_1H, 100); - gives 100 skill on 2H weapon
setPlayerSkillWeapon(pid, WEAPON_2H, 100); - does noting
setPlayerSkillWeapon(pid, WEAPON_BOW, 100); - gives 100 skill on Bow (works good)
setPlayerSkillWeapon(pid, WEAPON_2H, 100); - does noting
Reply
#23
(26.07.2016, 14:59)Raven Wrote: There is a bugs with skill id's in setPlayerSkillWeapon function:

setPlayerSkillWeapon(pid, WEAPON_1H, 100); - gives 100 skill on 2H weapon
setPlayerSkillWeapon(pid, WEAPON_2H, 100); - does noting
setPlayerSkillWeapon(pid, WEAPON_BOW, 100); - gives 100 skill on Bow (works good)
setPlayerSkillWeapon(pid, WEAPON_2H, 100); - does noting
Look at 4'th function is the same as second.

Squirrel Script
  1. // Fast fix
  2. setPlayerSkillWeapon(pid, 1, 100);
  3. setPlayerSkillWeapon(pid, 2, 100);
  4. setPlayerSkillWeapon(pid, 3, 100);
  5. setPlayerSkillWeapon(pid, 4, 100);
  6.  
  7. // or
  8.  
  9. setPlayerSkillWeapon(pid, 0, 100);
  10. setPlayerSkillWeapon(pid, 1, 100);
  11. setPlayerSkillWeapon(pid, 2, 100);
  12. setPlayerSkillWeapon(pid, 3, 100);



I will check this today.
Reply
#24
Awesome, really excited to start updating. Just one thing: Has anybody had any luck getting the clients to download their clientscripts? The scripts are compiled properly by the server, but my client never downloads any scripts (The respective folders are empty). Copying the compiled scripts manually to their destination doesn't work as a temporary solution either since when connecting with the server, the files will just be deleted. I'm using a clean Gothic-installation that had no version of G2O installed on it prior to this one and I am using only the scripts contained in your download in the OP for the time being (Same config.xml too). Am I missing something there? Big Grin

Still, thanks for the huge update, Bimbol! I'm really looking forward to doing some tests with this version.
Reply
#25
But whats the problem? While joining to server in the server output you should see onNewConnection, onLostConnetion. Something like this two times.
Reply
#26
I do see this. This is the whole server-output (including the things caused by the serverscripts [They work fine]), if that helps:

[Image: 9whk2fed.png]
Reply
#27
Well this looks fine. Client scripts are downloaded to ur PC. Check Data/Servers/ folder for more information.
Reply
#28
Correct me if i'm wrong, but shouldn't there be a chat.sq somewhere on the client as soon as I connect to the server then? the Everything-search only finds one chat.sq, and that's the one in the serverfolder. Also the onInit-function in the client-main is never executed. Looks to me like the scripts just aren't there to begin with. I just don't know, why.

[Image: 1a3eb1e7cc.png]

Which Data\Servers\-directory do you mean? In my G2O-installation there is no folder called "Servers". May that be related to the problem I am having?
Reply
#29
Scripts after being loaded into memory are removed from disc. This in an example for folder: C:\Program Files\JoWood\Gothic II\Data\Servers\127.0.0.1_28970

Maybe try to create it by ur own, and see what happend.
Reply
#30
Creating the folder didn't help unfortunately. I had the folder opened while connecting to the server and at no point did it contain the scriptfiles.

[Image: 30ca2cb3d7.png]
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Information New website Bimbol 20 17,003 18.10.2015, 13:19
Last Post: ALbatrOS

Forum Jump:


Users browsing this thread: 1 Guest(s)