Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting > NPC Server
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 08-26-2001, 01:47 AM
Warcaptain Warcaptain is offline
Banned
Warcaptain's Avatar
Join Date: Jun 2001
Location: Virginia, USA
Posts: 2,086
Warcaptain is on a distinguished road
Send a message via ICQ to Warcaptain Send a message via AIM to Warcaptain Send a message via Yahoo to Warcaptain
Post Graal Saving (Scripting Ideas)

I had ideas to do a new saving type system with commands like:

restoredata(account) - restores the last saved data for the account.
savedata(account) - saves the data for that account (like graal does all the time)


then have a server option that says:
autosaving=true
or autosaving=false


then servers can make it more challenging by having players save their games.

I dont know quite how it would be possible, but im sure it is.

  #2  
Old 08-26-2001, 02:20 AM
Guest
Posts: n/a
Thumbs up

Sounds cool, But it should auto save itselfs everytime they log off.
And the autosaving=true/false will see if it saves their data everytime they log off.

it should be a txt name: account_data

then in that it should have:

Onlinesecs: #
Rating:
Ratingdev:
Kills: #
Deaths: #
FullHearts: #
Hearts: #
Race: male/nonemale
Spinattack: yes/no
Weapons:
Flags:
Open Chest:
Last IP:
Level:
X:
Y:
Graltas: #
AP: #
MP: #
Glove: #
Bombs: #
Darts: #
Sword: #
Swordimg:
Shield: #
Shieldimg:
Headimg:
Bodyimg:
Animation:
Skingcolor:
Coatcolor:
Sleevecolor:
Shoecolor:
Beltcolor:

And whatever i missed. It can be used it their is a bug or something and someones account gets reseted we can fix it.
  #3  
Old 08-26-2001, 02:22 AM
Guest
Posts: n/a
Also forgot to say it should be for all servers not just p2p, And no one accept stefan can access the folder, So the people with ftp dont change peoples stats like onlinetime/kills/deaths ect...
  #4  
Old 08-26-2001, 04:25 AM
Warcaptain Warcaptain is offline
Banned
Warcaptain's Avatar
Join Date: Jun 2001
Location: Virginia, USA
Posts: 2,086
Warcaptain is on a distinguished road
Send a message via ICQ to Warcaptain Send a message via AIM to Warcaptain Send a message via Yahoo to Warcaptain
it couldnt be for free servers because in order to access another account not in of the clients, it would require npc-server.

=(

sucks alot, but hey *shrugs*
thats life.

Also, it shouldnt save when you log off, it should be the players responsibility to save, thats the fun part, is saving.
  #5  
Old 08-26-2001, 07:46 AM
Guest
Posts: n/a
....
  #6  
Old 08-26-2001, 08:15 AM
slp slp is offline
Registered User
slp's Avatar
Join Date: Apr 2001
Location: MN, USA
Posts: 892
slp is on a distinguished road
Send a message via AIM to slp Send a message via Yahoo to slp
it could cuase problems

it might cause problems and its not safe in the ftp were other staff members can mes with.
__________________
Thanks,
-SLP / SLP Omega-
Im Back >: D.
  #7  
Old 08-26-2001, 11:00 AM
Warcaptain Warcaptain is offline
Banned
Warcaptain's Avatar
Join Date: Jun 2001
Location: Virginia, USA
Posts: 2,086
Warcaptain is on a distinguished road
Send a message via ICQ to Warcaptain Send a message via AIM to Warcaptain Send a message via Yahoo to Warcaptain
Then make it an option on rc, like bush time.

and make it a right that you can edit those.
  #8  
Old 08-27-2001, 01:42 AM
Er1c Er1c is offline
Registered User
Er1c's Avatar
Join Date: Mar 2001
Location: Chicago, IL
Posts: 791
Er1c is on a distinguished road
That idea == dumb

people could just lay down all their gralat, not save, then reconnect to the server, pick it all up. then save, and do it all again... wouldnt work warcaptain
__________________
Eric Kraft
  #9  
Old 08-27-2001, 01:45 AM
AlexH AlexH is offline
Have A Drink On Me
AlexH's Avatar
Join Date: Jun 2001
Location: Somewhere In Time
Posts: 7,442
AlexH is on a distinguished road
Send a message via AIM to AlexH Send a message via MSN to AlexH
Quote:
Originally posted by Er1c
That idea == dumb

people could just lay down all their gralat, not save, then reconnect to the server, pick it all up. then save, and do it all again... wouldnt work warcaptain
that is a very good point
and i think the way graal saves just now is just fine
why does it need to be changed
__________________
QUICK LOOK BUSY JESUS IS COMING!
  #10  
Old 08-27-2001, 04:38 AM
Warcaptain Warcaptain is offline
Banned
Warcaptain's Avatar
Join Date: Jun 2001
Location: Virginia, USA
Posts: 2,086
Warcaptain is on a distinguished road
Send a message via ICQ to Warcaptain Send a message via AIM to Warcaptain Send a message via Yahoo to Warcaptain
thats true, gralat would have to be rescripted using the time that they last saved and detecting if they log off without saving, then it hides the gralat.
  #11  
Old 08-27-2001, 08:07 AM
Falcor Falcor is offline
Darth Cucumber
Falcor's Avatar
Join Date: Mar 2001
Location: At School
Posts: 2,874
Falcor is on a distinguished road
Send a message via ICQ to Falcor Send a message via AIM to Falcor Send a message via MSN to Falcor Send a message via Yahoo to Falcor
Auto save on log-off?
__________________

subliminal message: 1+1=3
  #12  
Old 08-27-2001, 09:08 AM
Warcaptain Warcaptain is offline
Banned
Warcaptain's Avatar
Join Date: Jun 2001
Location: Virginia, USA
Posts: 2,086
Warcaptain is on a distinguished road
Send a message via ICQ to Warcaptain Send a message via AIM to Warcaptain Send a message via Yahoo to Warcaptain
Thumbs up

that would work too, like when pressing escape it says "Exit Graal and Save Game?"

and for pause it says Save and Exit. (only if the option autosave=false)
  #13  
Old 08-27-2001, 01:06 PM
fuzie fuzie is offline
Registered User
Join Date: Jul 2001
Location: +900
Posts: 303
fuzie is on a distinguished road
Send a message via AIM to fuzie Send a message via Yahoo to fuzie
nah do that for offline version Stefan!!
__________________
This is my extra account. My other account name is "royce".


-Mr. Chik (Criminals)

Chik=French=Hip
  #14  
Old 08-27-2001, 11:27 PM
Merlin Merlin is offline
Banned
Merlin's Avatar
Join Date: Jul 2001
Location: Merlin - U S A Malak - United Kingdom
Posts: 2,543
Merlin is on a distinguished road
Send a message via ICQ to Merlin Send a message via AIM to Merlin
that could be bad
like hackers can make things that edit certain npcs to reset accounts
  #15  
Old 08-28-2001, 02:04 AM
Jerom Jerom is offline
Banned
Jerom's Avatar
Join Date: Mar 2001
Location: In a Trash Can
Posts: 3,708
Jerom is on a distinguished road
Send a message via AIM to Jerom
Quote:
Originally posted by Er1c
That idea == dumb

people could just lay down all their gralat, not save, then reconnect to the server, pick it all up. then save, and do it all again... wouldnt work warcaptain
Stefan already made a cache system thingy where all your data is loaded FROM the server and not offline.
I hate the cache system because it's impossible to dupe simple things like swords, gelat, and shields now
  #16  
Old 08-28-2001, 07:06 AM
Warcaptain Warcaptain is offline
Banned
Warcaptain's Avatar
Join Date: Jun 2001
Location: Virginia, USA
Posts: 2,086
Warcaptain is on a distinguished road
Send a message via ICQ to Warcaptain Send a message via AIM to Warcaptain Send a message via Yahoo to Warcaptain
you wouldnt reset accounts, because it couldnt be done client side.

So it would be like adding weapons client side, if you tried to do it client side it wouldnt work.
  #17  
Old 08-28-2001, 09:00 PM
oscarjf1 oscarjf1 is offline
Registered User
Join Date: Aug 2001
Location: I live in the US
Posts: 107
oscarjf1 is on a distinguished road
Send a message via AIM to oscarjf1
ummmm

There is 1 major problem with that idea....what if the player gets disconnected? Like....they are running off of a phone line (like myself) and something bumps the line somewhere...its over. They loose all of there stuff. Think about it. Youre walking around for 3 hours on graal and you get disconnected, or a power surge restarts your computer.....or you get some kinda internal error that closes graal..... It wouldnt really be fair, would it? It would be awsome if it wasnt flawed in many ways. I like the idea....but, again, the flaws....
__________________
I speek on behalf of my staff.
~laterz

Lagoonia Staff
-Tiki God Of Power
  #18  
Old 08-28-2001, 09:22 PM
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
I don't know what you are speaking about.
When the player logins to the server, the
attributes are loaded from hard disk.
All 5 minutes and when he logs off the attributes
are saved. It would be possible to move the
accounts folder of the playerworld to the
ftp folder if wanted. The file looks like this:

GRACC001
NAME Stefan
NICK screenshot: bomys come to the Dustari waterfall
LEVEL worldb-20.nw
X 41
Y 36.5
MAXHP 4
HP 4
ANI bomy_kick
GRALATS 404
ARROWS 15
BOMBS 15
HEAD bomy_naifets0.png
BODY body.png
SWORD no-sword.gif
SHIELD shield1.gif
COLORS 0,10,10,6,9
SPRITE 2
STATUS 21
AP 100
APCOUNTER 628
KILLS 8
DEATHS 36
ONSECS 418731
ATTR1 hat11.png
ATTR2 ocarina0.png
WEAPON Anchor
WEAPON Apple Seeds
WEAPON Bogen
WEAPON -Bomy-Boots
WEAPON Bomy-Spin
WEAPON -Day-Night
WEAPON Diving
WEAPON Draisine
WEAPON Drums
WEAPON Flute
WEAPON Hacky Sack 1
WEAPON Hacky Sack 2
WEAPON Hacky Sack 3
WEAPON Hacky Sack 4
WEAPON Harmonica
WEAPON Horse Whistle
WEAPON Ocarina
WEAPON Railroad
WEAPON Railroad Destroyer
WEAPON Saddle
WEAPON Saxophon
WEAPON Ski
WEAPON Spin
WEAPON Steel
WEAPON Trading Item
WEAPON Trumpet
WEAPON Violin
WEAPON -Waggon-System
WEAPON Water Can
CHEST Œ‘worldi-08.nw
CHEST |endoffishquest.nw
FLAG apples=14
FLAG appleseeds=10
FLAG birdnet=1
FLAG birdsoldweight=770
FLAG birdssize=2.09716e+06
FLAG birdsweight=150
FLAG castlestart=1682181
FLAG client.apples=14
FLAG client.appleseeds=10
FLAG client.birdnet=1
FLAG client.bombo=1
FLAG client.bomy_bombpower=42
FLAG client.bomy_Cmaxlife=100
FLAG client.bomy_morphon
FLAG client.bomy_mspeed=1.5
FLAG client.bomy_speed=0.5
FLAG client.bomy_vuln=4
FLAG client.bomycolor=0
FLAG client.bomyquest_hbrg
FLAG client.bomyquest_racet
FLAG client.bomyrace=naifets
FLAG client.coptest1=-1
FLAG client.coptest2=17
FLAG client.divgolev=worldh-06.nw
FLAG client.divgox=17.5
FLAG client.divgoy=21
FLAG client.drumscount=1
FLAG client.fishcol0=white
FLAG client.fishcol1=red
FLAG client.fishcol2=cynober
FLAG client.fishcol3=lightgreen
FLAG client.fishcol4=lightblue
FLAG client.fishrem0=white
FLAG client.fishrem1=red
FLAG client.fishrem2=cynober
FLAG client.fishrem3=lightgreen
FLAG client.fishrem4=lightblue
FLAG client.fishremb=body.png
FLAG client.fishremh=bomy_severian0.p
FLAG client.flutecount=1
FLAG client.gotfishbone1
FLAG client.gotfishbone2
FLAG client.gotfishbone3
FLAG client.gotfishbone4
FLAG client.hackyball=hackysack3.png
FLAG client.harmonicacount=1
FLAG client.hat=hat11.png
FLAG client.headbeforefish=bomy_sever
FLAG client.horsebombpower=0
FLAG client.horsebombs=0
FLAG client.horsebushes=10
FLAG client.horseimg=ride.gif
FLAG client.horserounds=4
FLAG client.isskiiing
FLAG client.kingdomsmoney=454
FLAG client.netcop=Tolerian28
FLAG client.ocarinacount=1
FLAG client.pearls=1
FLAG client.playerstroke=0
FLAG client.race=bomy
FLAG client.safariarrows=152
FLAG client.saxcount=2
FLAG client.showantora
FLAG client.skiimg=ski2.png
FLAG client.skiwax=10
FLAG client.steelcount=1
FLAG client.treewater=3
FLAG client.treewateri=0
FLAG client.treewaterx=44.5
FLAG client.treewatery=46.5
FLAG client.trumpetcount=1
FLAG client.violincount=1
FLAG client.watercan=4
FLAG cs2playing
FLAG cs2teamb
FLAG cs3teamb
FLAG csrem0=white
FLAG csrem1=redhat11.png
FLAG csrem2=redocarina0.png
FLAG csrem3=lightgreen
FLAG csrem4=lightblue
FLAG csrembc=0
FLAG csrembr=severian
FLAG csremh=bomy_birce0.png
FLAG csremn=*Stefan (Events Team)
FLAG csroundswon=0
FLAG csteamA
FLAG ctfteamb
FLAG drumscount=1
FLAG farmhatfound
FLAG fishessaved=2
FLAG flutecount=1
FLAG gotbirdmoney=1
FLAG gotbomyquestlife
FLAG gotfishquestlife
FLAG gotg3ymoney
FLAG gotpearlsmoney=2
FLAG harmonicacount=1
FLAG horsenpc=Horse6
FLAG horseracep1=2293039
FLAG horseracerounds=4
FLAG ian0.png
FLAG kingdomsmoney=454
FLAG local.activatefish
FLAG ng
FLAG ocarinacount=1
FLAG pearls=1
FLAG safaripoints=32
FLAG saxcount=2
FLAG steelcount=1
FLAG swim1pass=1157782
FLAG swim2pass=1157782
FLAG swim3pass=1.15674e+06
FLAG swim4pass=1.15674e+06
FLAG trumpetcount=1
FLAG violincount=1
FLAG watercans=2
FLAG client.bomy_Clife=100

IPRANGE *.*.*.*

(IP line removed)
  #19  
Old 08-28-2001, 10:10 PM
Warcaptain Warcaptain is offline
Banned
Warcaptain's Avatar
Join Date: Jun 2001
Location: Virginia, USA
Posts: 2,086
Warcaptain is on a distinguished road
Send a message via ICQ to Warcaptain Send a message via AIM to Warcaptain Send a message via Yahoo to Warcaptain
Re: ummmm

Quote:
Originally posted by oscarjf1
There is 1 major problem with that idea....what if the player gets disconnected? Like....they are running off of a phone line (like myself) and something bumps the line somewhere...its over. They loose all of there stuff. Think about it. Youre walking around for 3 hours on graal and you get disconnected, or a power surge restarts your computer.....or you get some kinda internal error that closes graal..... It wouldnt really be fair, would it? It would be awsome if it wasnt flawed in many ways. I like the idea....but, again, the flaws....
Well, lets think...

If you are playing FF8.. And all of a sudden the power goes out, or the game freezes... and you didnt save.. too bad right?

Thats what makes the game so fun, is having to save over and over.


And as for stefan's comment.

im a bit shady on what that means, but does it mean its possible?
  #20  
Old 08-28-2001, 11:16 PM
Warcaptain Warcaptain is offline
Banned
Warcaptain's Avatar
Join Date: Jun 2001
Location: Virginia, USA
Posts: 2,086
Warcaptain is on a distinguished road
Send a message via ICQ to Warcaptain Send a message via AIM to Warcaptain Send a message via Yahoo to Warcaptain
also maybe stefan, you should add:
NPC Code:

checkpass(account,string)



which would give more verification for saving accounts, you could check the password, by making them say their password, (when they say it right after they verify it make it turn all the characters into *'s.
  #21  
Old 08-28-2001, 11:24 PM
Warcaptain Warcaptain is offline
Banned
Warcaptain's Avatar
Join Date: Jun 2001
Location: Virginia, USA
Posts: 2,086
Warcaptain is on a distinguished road
Send a message via ICQ to Warcaptain Send a message via AIM to Warcaptain Send a message via Yahoo to Warcaptain
Also i was my attention was brought to 2 things:

Q.) what if they save the game and then get sent to jail.
A.) make the jailing script so if you are sent to jail it saves when you are sent there.

Q.) what if they get money, lay it and log off without saving and pick the money they layed.
A.) Make it so the only thing it auto-saves when the player logs off is bombs, arrows and darts, everything else must be done manualy.

If you have any more questions, id be glad to help :-)
 


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 03:10 PM.


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