Graal Forums  

Go Back   Graal Forums > Private forums > Graal4 Forums > Graal V4 Main Forum
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 11-03-2005, 02:36 AM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
Exclamation Graal v4.02 revision 8 released

A new version has been released, download by connecting to the server list (login server). The Mac download package has been changed a lot, it doesn't include the setup program anymore, you can directly start it from the Graal 4 volume that opens when you download & activate the Graal 4 package. Also the URL for it has changed. Please test the Mac version if you have a Mac.

Windows:http://www.graalonline.com/downloads/Graal4Setup.exe
Linux:http://www.graalonline.com/downloads/graal4setup
Mac:http://www.graalonline.com/downloads/Graal4.dmg.bz2

Changes:
- fixed several problems with update packages from playerworlds overwriting the main update packages (.gupd files)
- it is now possible to rearrange the graal control inside the window, so you can put controls next to it without hiding game content, check the attached level editor scropt (turnon() function, GraalControl is inside GUIContainer)
- fixed problems of gani scripts of other players not restarted in certain situations
- resetting the gani attributes of the player on server switch (#P / player.attr[])
- on mac the downloaded files are stored in ~/.graal/graal4, like on Linux, so making it possible to play Graal when you only have read access to the files (you currently need write access to the exe for the automatic update though)
- added functionality for clearing all npcs on npcserver restart (not enabled in the npcserver yet though)
- fixed starting in fullscreen with different fullscreen resolution than 1024x768

Attached to this post is a first version of a level editor - basicly only tiles selection & tiles pasting. Press F4 to activate it, it will put a tiles selection window on the right side of the Graal window. It would be interesting if scripters could improve it. What I could imagine is:
- instead of having a tiles selection window, it should be a border-less panel like in the v2 level editor
- it should check if the player actually has the right to edit the current level, using the hasright() function
- needs level tiles selection & copying

Also the gserver/npcserver have been updated so that you can see the upgrade status of a player by script now:
player.upgradestatus
or
#G / #G(playerindex)
Both gserver and npcserver need to be restarted to enable that.
Attached Files
File Type: txt leveleditor.txt (7.9 KB, 382 views)
  #2  
Old 11-03-2005, 03:22 AM
napo_p2p napo_p2p is offline
oh snaps
napo_p2p's Avatar
Join Date: Sep 2003
Location: Pismo Beach, California
Posts: 2,118
napo_p2p has a spectacular aura aboutnapo_p2p has a spectacular aura about
Send a message via AIM to napo_p2p Send a message via MSN to napo_p2p
Very nice .

EDIT: OLE seems a bit buggy . In particular, it seems to be having trouble editing tiles on gmaps.
__________________
Scito hoc super omnia.
Haec vita est tua una sola.
Dum vita superest, utere maxime quoque puncto, momento, et hora quae habes.
Tempus neminem non manet.
Noli manere tempus.
Carpe Diem

Seize the Day.

Last edited by napo_p2p; 11-03-2005 at 03:49 AM..
  #3  
Old 11-03-2005, 03:31 AM
ZeLpH_MyStiK ZeLpH_MyStiK is offline
Scripter
ZeLpH_MyStiK's Avatar
Join Date: May 2003
Location: NYC
Posts: 553
ZeLpH_MyStiK is on a distinguished road
Send a message via MSN to ZeLpH_MyStiK Send a message via Yahoo to ZeLpH_MyStiK
nice level editor, read your forum pms Stefan
__________________
  #4  
Old 11-03-2005, 03:49 AM
haunter haunter is offline
Registered User
haunter's Avatar
Join Date: Mar 2001
Posts: 7,989
haunter is on a distinguished road
Is this level editor something that must be used online? Or do I put it somewhere in my Graal directory to use it?

If its for online only I'm doomed! No RC for macs means I can't get it put on until Lance returns! Plus then I can't work on stuff when I'm out with no internet connection. x2
  #5  
Old 11-03-2005, 04:49 AM
napo_p2p napo_p2p is offline
oh snaps
napo_p2p's Avatar
Join Date: Sep 2003
Location: Pismo Beach, California
Posts: 2,118
napo_p2p has a spectacular aura aboutnapo_p2p has a spectacular aura about
Send a message via AIM to napo_p2p Send a message via MSN to napo_p2p
Quote:
Originally Posted by haunter
Plus then I can't work on stuff when I'm out with no internet connection. x2
We all feel your pain.

On another note. How about editing NPCs from player?
__________________
Scito hoc super omnia.
Haec vita est tua una sola.
Dum vita superest, utere maxime quoque puncto, momento, et hora quae habes.
Tempus neminem non manet.
Noli manere tempus.
Carpe Diem

Seize the Day.
  #6  
Old 11-03-2005, 06:21 AM
VulcanP2P VulcanP2P is offline
Registered User
VulcanP2P's Avatar
Join Date: May 2005
Location: Florida
Posts: 882
VulcanP2P is on a distinguished road
Quote:
Originally Posted by napo_p2p
Very nice .

EDIT: OLE seems a bit buggy . In particular, it seems to be having trouble editing tiles on gmaps.
Yeah, it's setting the wrong tiles or something.
__________________

For Zone or Guild Support use the Support Center
  #7  
Old 11-03-2005, 06:39 AM
napo_p2p napo_p2p is offline
oh snaps
napo_p2p's Avatar
Join Date: Sep 2003
Location: Pismo Beach, California
Posts: 2,118
napo_p2p has a spectacular aura aboutnapo_p2p has a spectacular aura about
Send a message via AIM to napo_p2p Send a message via MSN to napo_p2p
Quote:
Originally Posted by VulcanP2P
Yeah, it's setting the wrong tiles or something.
I found that it's working on the top left corner level.
__________________
Scito hoc super omnia.
Haec vita est tua una sola.
Dum vita superest, utere maxime quoque puncto, momento, et hora quae habes.
Tempus neminem non manet.
Noli manere tempus.
Carpe Diem

Seize the Day.
  #8  
Old 11-03-2005, 08:35 AM
Zxion Zxion is offline
Registered User
Join Date: Jan 2002
Location: US
Posts: 342
Zxion is on a distinguished road
So where do we put this file after we download it in order to use it?
__________________
FAQ on (old) Graal 2001
  #9  
Old 11-03-2005, 08:56 AM
VulcanP2P VulcanP2P is offline
Registered User
VulcanP2P's Avatar
Join Date: May 2005
Location: Florida
Posts: 882
VulcanP2P is on a distinguished road
Quote:
Originally Posted by Zxion
So where do we put this file after we download it in order to use it?
Its a weapon, you need to upload it on a server as a weapon named LevelEditor.
__________________

For Zone or Guild Support use the Support Center
  #10  
Old 11-03-2005, 12:28 PM
ZeLpH_MyStiK ZeLpH_MyStiK is offline
Scripter
ZeLpH_MyStiK's Avatar
Join Date: May 2003
Location: NYC
Posts: 553
ZeLpH_MyStiK is on a distinguished road
Send a message via MSN to ZeLpH_MyStiK Send a message via Yahoo to ZeLpH_MyStiK
Quote:
Originally Posted by napo_p2p
EDIT: OLE seems a bit buggy . In particular, it seems to be having trouble editing tiles on gmaps.
It's a bug with updateboard2. I do believe it is fixed, you just need you gserver and npcserver restarted for it to take effect.

http://forums.graalonline.com/forums...ad.php?t=61773

I haven't tried it yet, but a temporary solution would be to replace function pasteTiles with the following:

NPC Code:

function pasteTiles(pastex,pastey,pastew,pasteh,pastearr) {
for (tx=0; tx<pastew; tx++) {
for (ty=0; ty<pasteh; ty++) {
tiles[pastex+tx,pastey+ty] = pastearr[tx+ty*pastew];
updateboard2(pastex+tx,pastey+ty,1,1);
}
}
}



P.S. Stefan read your forum pm
__________________

Last edited by ZeLpH_MyStiK; 11-03-2005 at 12:52 PM..
  #11  
Old 11-03-2005, 06:18 PM
Zxion Zxion is offline
Registered User
Join Date: Jan 2002
Location: US
Posts: 342
Zxion is on a distinguished road
Quote:
Originally Posted by VulcanP2P
Its a weapon, you need to upload it on a server as a weapon named LevelEditor.
Ohhh duh, that would make sense for it to be an NPC lol Sorry about that folks, I just wasn't thinking at the time
__________________
FAQ on (old) Graal 2001
  #12  
Old 11-04-2005, 10:23 PM
Nabru Nabru is offline
100 IFP and runnin'
Nabru's Avatar
Join Date: Aug 2005
Location: Wisconsin
Posts: 440
Nabru will become famous soon enough
Send a message via ICQ to Nabru
This level editor sucks really bad... If i have to use this i will be forced to quit
__________________
~Urban
  #13  
Old 11-04-2005, 10:58 PM
Fry Fry is offline
Registered User
Fry's Avatar
Join Date: Sep 2001
Location: Germany
Posts: 384
Fry has a spectacular aura about
Quote:
Originally Posted by Nabru
This level editor sucks really bad... If i have to use this i will be forced to quit
Because it's finished and all, yeah..
__________________
Graal Statistics

Top 3 servers at the moment (players):


  #14  
Old 11-05-2005, 12:51 AM
ZeLpH_MyStiK ZeLpH_MyStiK is offline
Scripter
ZeLpH_MyStiK's Avatar
Join Date: May 2003
Location: NYC
Posts: 553
ZeLpH_MyStiK is on a distinguished road
Send a message via MSN to ZeLpH_MyStiK Send a message via Yahoo to ZeLpH_MyStiK
Quote:
Originally Posted by Nabru
This level editor sucks really bad... If i have to use this i will be forced to quit
Who ever said anything about you having to use this? If you don't like how it is progressing, make one yourself.
__________________
  #15  
Old 11-05-2005, 06:43 AM
DrDrizzle DrDrizzle is offline
OwNaGe
DrDrizzle's Avatar
Join Date: Oct 2005
Location: USA
Posts: 186
DrDrizzle is on a distinguished road
Send a message via AIM to DrDrizzle
and stefan i press the link for mac and it doesnt download it just has this giberish on a web page.......
__________________
Apps Owns You

Reddys Owns You

Last edited by DrDrizzle; 11-05-2005 at 08:55 AM..
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 06:07 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.