• quirk?

    From altere@VERT/DARKDIM to Digital Man on Sat Dec 30 18:29:00 2000
    Perhaps it's just me or just this machine here but could there be some sort ofã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 changes,ã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 wouldãnot see the changes made from the user editor unless I logged off and back onã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 creditsã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 moreã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.datãwill update?ããaltereãã---ã þ Synchronet þ Dark Dimension ááS ú telnet://dark.dimension-bbs.com ú Hit Me!ã
  • From Digital Man@VERT to altere on Sun Dec 31 14:12:01 2000
    RE: quirk?ãBY: altere to Digital Man on Sun Dec 31 2000 02:29 amãã > 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).ããYes, I would expect it to crash. That is the danger of using printf.ã ã > 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? ããNo. When returning from a door that is configured to use XTRN.DAT drop fileãformat and "Modify User Data" is set to "Yes" in SCFG, it will read in theãMODUSER.DAT file and apply any changes.ãã > 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.ããRobã---ã þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.netã
  • From altere@VERT/DARKDIM to Digital Man on Mon Jan 1 09:31:00 2001
    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.ãã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 stillã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 thenãback on before SBJ will see those changes.ããaltereãã---ã þ Synchronet þ Dark Dimension ááS ú telnet://dark.dimension-bbs.com ú Hit Me!ã
  • From PistolGrip@VERT/WASTELND to altere on Mon Jan 1 10:09:00 2001
    RE: quirk?ãBY: altere to Digital Man on Mon Jan 01 2001 05:31 pmãã > 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.ããThe point is, if you're editing the user with the GUI user editor then theãchanges will probably not show up until after the user logs on again. Ifãyou're using ;UEDIT from the BBS then it will set the User Data Modified flagã[U] to on for that node. Which you will notice a [U] behind the nodes' nodeãstatus in SBBSCTRL. Once the [U] flag gets cleared then the changes have beenãactiviated and you should see the new values in other programs.ããPGãã---ã þ Synchronet þ WasteLand BBS þ telnet://wasteland.darktech.org ã
  • From Digital Man@VERT to altere on Mon Jan 1 08:54:34 2001
    RE: quirk?ãBY: altere to Digital Man on Mon Jan 01 2001 05:31 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.ã > ã > 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?ããThere's an easier way to check your credits, just hit "IY" from the main menuã(using Synchronet classic command shell).ãã > 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, however,ãand the changes will take effect immediately.ããRobã---ã þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.netã
  • From altere@VERT/DARKDIM to Digital Man on Tue Jan 2 02:20:00 2001
    RE: quirk?ãBY: Digital Man to altere on Mon Jan 01 2001 04:54 pmãã > No. You need to run ;UEDIT from a different node than the user is on, howeveã > and the changes will take effect immediately.ããAhh, thats my problem, same node.ãã---ã þ Synchronet þ Dark Dimension ááS ú telnet://dark.dimension-bbs.com ú Hit Me!ã