Perhaps it's just me or just this machine here but could there be some sort check between int and str's? What I mean is for instance:
int int1 int2
str str1 str2
set int1 123
set int2 54
setstr str1 "blah"
setstr str2 "wow"
printf "%s\r\n" int1
printf "%ld\r\n" str2
Alright, you get the point. And I intentionally put it that way in this example. I accidentally put a printf "%s\r\n" val (val being an integer), compiled it, ran it and when it came to the printf statement it crashed SCP (all of synchronet, I had to restart the bbs).
Also, I'm reading xtrn.dat in another mod. While logged in, if I adjust my userlevel or credits and then go back into the mod it doesn't see the change does Synchronet only set the values at login?
I've since started using
_useron.cdt but before when I was reading xtrn.dat and set a variable it wou not see the changes made from the user editor unless I logged off and back o and the xtrn.dat was being created everytime. I may have just jumbled this whole paragraph, let me know if I did.. hehe.
I also noticed this for SBJ, if I logged in with 5,000K, start SBJ (not play but just hit 'J' to see how many credits it sees) then exit; adjust my credi in the user editor (the gui app or using uedit) then go back in and press J, it still only sees 5,000K. What if a user is on and I wanted to give them m credits for file xfers or sbj, poker, etc... (that use xtrn.dat, don't know about the other drop files) they have to logoff and the back on before xtrn. will update?
UEdit should set the user-data-modified flag in the NODE.DAB and the user record would automatically be read back in. This has nothing to do with executing external programs or not. The GUI user editor does NOT set the user-data-modified flag.
RE: quirk?
BY: Digital Man to altere on Sun Dec 31 2000 10:12 pm
UEdit should set the user-data-modified flag in the NODE.DAB and the user record would automatically be read back in. This has nothing to do with executing external programs or not. The GUI user editor does NOT set the user-data-modified flag.
The point I'm getting at is as the sysop if I wanted to give a user that is currently online more credits it seems that they will have to logoff and the back on before SBJ will see those changes.
UEdit should set the user-data-modified flag in the NODE.DAB and the user record would automatically be read back in. This has nothing to do with executing external programs or not. The GUI user editor does NOT set the user-data-modified flag.
So then, if I just logged in and initially had 1000K credits. I go into SBJ press J, it says I have 1000K credits, now I quit SBJ completly. UEdit and +2000K (I should now have 3000K right?). Go back into SBJ, hit J and it sti says I have 1000K, why not 3000K?
The point I'm getting at is as the sysop if I wanted to give a user that is currently online more credits it seems that they will have to logoff and the back on before SBJ will see those changes.
No. You need to run ;UEDIT from a different node than the user is on, howeve and the changes will take effect immediately.
Sysop: | Tandy |
---|---|
Location: | New York, USA |
Users: | 15 |
Nodes: | 13 (0 / 13) |
Uptime: | 65:34:22 |
Calls: | 335 |
Messages: | 113,200 |